/* =========================================================
   3D Walkthrough page styles
   ========================================================= */
.cs3d-page {
  --cs3d-ink: #08090d;
  --cs3d-paper: var(--tp-grey-2);
  --cs3d-text: var(--tp-common-white);
  --cs3d-muted: var(--tp-grey-3);
  --cs3d-cyan: #00cfff;
  --cs3d-violet: #b66bff;
  --cs3d-heading-size: 40px;
  --cs3d-line: rgba(255, 255, 255, 0.16);
  position: relative;
  overflow: hidden;
  background: var(--cs3d-ink);
  color: var(--cs3d-text);
  font-family: var(--tp-ff-body);
}

/* Hero */
.cs3d-page a { text-decoration: none; }
.cs3d-hero, .cs3d-section, .cs3d-cta { position: relative; z-index: 1; }

.cs3d-hero {
  min-height: 93vh;
  display: flex;
  align-items: center;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(8, 9, 13, 0.98) 0%, rgba(8, 9, 13, 0.88) 33%, rgba(8, 9, 13, 0.2) 70%, rgba(8, 9, 13, 0.3) 100%),
    linear-gradient(0deg, rgba(8, 9, 13, 0.75), transparent 28%),
    url("../img-pages/3d-walkthrough-delhi-ncr-hero.png") center right / cover no-repeat;
  border-bottom: 1px solid var(--cs3d-line);
}


.cs3d-hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  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: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.3), transparent 80%);
}

.cs3d-hero-inner, .cs3d-section-inner, .cs3d-cta-inner { width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.cs3d-hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 380px); align-items: center; gap: clamp(36px, 6vw, 92px); padding: 110px 0 96px; }
.cs3d-hero-content { min-width: 0; }

.cs3d-section-kicker {
  color: var(--cs3d-cyan);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.2em;
  line-height: 1.4;
  margin-bottom: 22px;
  text-align: center;
  text-transform: uppercase;
}

.cs3d-hero h1, .cs3d-display {
  margin: 0;
  font-family: 'agency', sans-serif;
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.98;
}

.cs3d-display { text-align: center; }
.cs3d-hero h1 { max-width: 690px; color: var(--cs3d-text); font-size: 52px; text-align: left; }
.cs3d-gradient-text { background: linear-gradient(110deg, var(--cs3d-cyan), #86dcff 48%, var(--cs3d-violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }

.cs3d-hero-copy {
    max-width: 590px;
    margin: 25px 0 0;
    color: #d4d7df;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.65;
}
.cs3d-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.cs3d-hero-form { width: 100%; box-sizing: border-box; padding: 28px; border: 1px solid rgba(255, 255, 255, 0.24); border-radius: 14px; background: linear-gradient(145deg, rgba(8, 9, 13, 0.7), rgba(42, 22, 67, 0.5)); box-shadow: 0 20px 55px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12); backdrop-filter: blur(12px); }
.cs3d-hero-form-kicker { color: #9ceaff; font-family: var(--tp-ff-body); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; }
.cs3d-hero-form h2 { margin: 10px 0 0; color: var(--tp-common-white-solid); font-family: 'agency', sans-serif; font-size: 28px; font-weight: 500; letter-spacing: -0.025em; line-height: 1.05; }
.cs3d-hero-form-fields { display: grid; gap: 13px; margin-top: 24px; }
.cs3d-hero-form-fields label { display: grid; gap: 6px; color: rgba(255, 255, 255, 0.75); font-family: var(--tp-ff-body); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.cs3d-hero-form-fields input, .cs3d-hero-form-fields select { width: 100%; box-sizing: border-box; height: 42px; padding: 0 13px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 3px; outline: 0; background: rgba(255, 255, 255, 0.08); color: var(--tp-common-white-solid); font-family: var(--tp-ff-body); font-size: 13px; letter-spacing: 0; text-transform: none; transition: border-color 0.25s ease, background 0.25s ease; }
.cs3d-hero-form-fields input::placeholder { color: rgba(255, 255, 255, 0.48); }
.cs3d-hero-form-fields select { color: rgba(255, 255, 255, 0.82); }
.cs3d-hero-form-fields select option { background: #201238; color: var(--tp-common-white-solid); }
.cs3d-hero-form-fields input:focus, .cs3d-hero-form-fields select:focus { border-color: #9ceaff; background: rgba(255, 255, 255, 0.12); }
.cs3d-form-error { display: none; margin-top: 2px; color: #ffb8c0; font-family: var(--tp-ff-body); font-size: 12px; line-height: 1.45; }
.cs3d-form-error.is-visible { display: block; }
.cs3d-hero-form .cs3d-button-primary { width: 100%; min-height: 48px; margin-top: 4px; background: #652d90; color: var(--tp-common-white-solid); }
.cs3d-hero-form .cs3d-button-primary:hover, .cs3d-hero-form .cs3d-button-primary:focus, .cs3d-hero-form .cs3d-button-primary:active { background: #652d90; color: var(--tp-common-white-solid); box-shadow: 0 10px 24px rgba(101, 45, 144, 0.34); transform: translateY(-2px); }

.cs3d-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--tp-ff-body);
  font-size: 13px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: 0.3s ease;
}

.cs3d-button-primary { background: var(--cs3d-cyan); color: #061017; }
.cs3d-button-primary:hover { background: #8ee7ff; color: #061017; transform: translateY(-3px); }
.cs3d-button-ghost { border-color: rgba(255, 255, 255, 0.32); color: var(--cs3d-text); }
.cs3d-button-ghost:hover { border-color: var(--cs3d-violet); color: var(--cs3d-text); transform: translateY(-3px); }

/* Experience statistics */
.cs3d-stats { position: relative; z-index: 2; margin-top: clamp(-110px, -8vw, -72px); background: transparent; color: var(--tp-common-white-solid); }
.cs3d-stats-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: min(1240px, calc(100% - 48px)); margin: 0 auto; }
.cs3d-stat { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; align-items: center; min-height: 110px; padding: 16px 28px; text-align: left; }
.cs3d-stat + .cs3d-stat { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.cs3d-stat-icon { display: inline-flex; grid-row: 1 / span 2; align-items: center; justify-content: flex-start; width: 44px; height: 44px; margin: 0; border: 0; background: transparent; color: var(--tp-common-white-solid); font-size: 32px; }
.cs3d-stat strong { display: block; color: var(--tp-common-white-solid); font-family: var(--tp-ff-body); font-size: clamp(34px, 4vw, 52px); font-weight: 700; letter-spacing: -0.06em; line-height: 0.95; text-align: left; }
.cs3d-stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.86); font-family: var(--tp-ff-body); font-size: 15px; font-weight: 400; line-height: 1.25; }

/* Shared section spacing and typography */
.cs3d-light { background: var(--cs3d-paper); color: var(--cs3d-ink); }
.cs3d-section-inner { padding: 96px 0; }
.cs3d-light .cs3d-section-kicker { color: #61268e; }
.cs3d-light h2, .cs3d-dark h2, .cs3d-cta h2 { font-size: var(--cs3d-heading-size); }
.cs3d-light h2 { max-width: 680px; margin-right: auto; margin-left: auto; color: var(--cs3d-ink); }

.cs3d-dark { background: var(--cs3d-ink); }
.cs3d-dark h2 { color: var(--cs3d-text); }
#cs3d-services { position: relative; isolation: isolate; overflow: hidden; background: var(--tp-common-white-solid); color: var(--cs3d-ink); }
#cs3d-services::before { display: none; }
#cs3d-services h2 { position: relative; z-index: 1; color: var(--cs3d-ink); font-size: var(--cs3d-heading-size); }
#cs3d-services .cs3d-section-kicker { position: relative; z-index: 1; color: #652d90; font-size: 15px; }
#cs3d-services > .cs3d-section-inner { position: relative; z-index: 1; width: 100%; max-width: none; padding-right: 0; padding-left: 0; }
#cs3d-services > .cs3d-section-inner > .cs3d-reveal:first-child { width: min(1240px, calc(100% - 48px)); margin-right: auto; margin-left: auto; text-align: center; }
.cs3d-services-slider { position: relative; width: 100vw; margin-top: 42px; margin-left: calc(50% - 50vw); overflow: hidden; }
.cs3d-service-track { display: flex; gap: 10px; width: 100%; overflow: visible; transition: transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1); will-change: transform; }
.cs3d-service-slide { position: relative; display: block; width: 44%; flex: 0 0 44%; background: rgba(255, 255, 255, 0.035); cursor: pointer; }
.cs3d-service-slide.is-active { display: block; }
.cs3d-service-image { position: relative; width: 100%; height: clamp(360px, 42vw, 560px); overflow: hidden; }
.cs3d-service-image::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 13, 0.45), transparent 42%); content: ""; pointer-events: none; }
.cs3d-service-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cs3d-service-slide::before { position: absolute; z-index: 3; top: 50%; right: 48px; display: inline-flex; align-items: center; justify-content: center; width: 118px; height: 118px; border: 1px solid rgba(255, 255, 255, 0.78); background: transparent; color: var(--tp-common-white-solid); content: "\f061"; font-family: "Font Awesome 6 Free"; font-size: 25px; font-weight: 900; opacity: 0; pointer-events: none; cursor: pointer; transform: translate(18px, -50%); transition: 0.4s ease; }
.cs3d-service-slide:hover::before { opacity: 1; transform: translate(0, -50%); }
.cs3d-service-caption { position: absolute; z-index: 1; right: clamp(24px, 6vw, 92px); bottom: clamp(24px, 5vw, 58px); left: clamp(24px, 6vw, 92px); }
.cs3d-service-caption h3 { max-width: 720px; margin: 0; color: var(--cs3d-text); font-family: 'agency', sans-serif; font-size: 30px; font-weight: 500; letter-spacing: -0.025em; line-height: 0.98; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.35); }
.cs3d-service-caption h3 span { color: #9ceaff; }
.cs3d-slider-controls { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 48px)); margin: 10px auto 0; }
.cs3d-slider-arrow { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid rgba(255, 255, 255, 0.42); border-radius: 50%; background: transparent; color: var(--cs3d-text); font-size: 22px; transition: 0.3s ease; }
.cs3d-slider-arrow:hover { border-color: var(--cs3d-cyan); color: var(--cs3d-cyan); }
.cs3d-slider-dots { display: flex; align-items: center; gap: 9px; }
.cs3d-slider-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.4); transition: 0.3s ease; }
.cs3d-slider-dots button.is-active { width: 28px; border-radius: 999px; background: #652d90; }
.cs3d-project-controls, #cs3d-services .cs3d-slider-controls { display: none; }
.cs3d-service-menu { display: none; }
.cs3d-service-item { display: flex; align-items: center; gap: 16px; min-height: 86px; padding: 18px 20px; border: 1px solid var(--cs3d-line); color: var(--cs3d-text); font-size: 15px; line-height: 1.25; transition: 0.3s ease; }
.cs3d-service-item:hover { border-color: var(--cs3d-cyan); transform: translateY(-3px); }
.cs3d-service-icon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: 0 0 42px; border: 1px solid rgba(0, 207, 255, 0.45); border-radius: 50%; color: var(--cs3d-cyan); }
.cs3d-service-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
/* Projects and content placement */
.cs3d-split-grid { display: grid; grid-template-columns: 1fr; gap: 80px; }
.cs3d-split-grid > .cs3d-reveal + .cs3d-reveal { padding-top: 0; border-top: 0; }
.cs3d-projects-section { background: var(--tp-common-white-solid); }
.cs3d-projects-section > .cs3d-section-inner { --cs3d-right-bleed: max(24px, calc((100vw - 1240px) / 2)); width: min(1240px, calc(100% - 48px)); margin-right: auto; margin-left: auto; padding-top: 40px; padding-bottom: 20px; }
.cs3d-projects-section > .cs3d-section-inner > .cs3d-reveal:first-child { width: 100%; }
.cs3d-projects-section .cs3d-section-kicker { color: #652d90; font-size: 15px; letter-spacing: 0.22em; }
.cs3d-projects-section .cs3d-display { max-width: none; color: #08090d; font-size: var(--cs3d-heading-size); }
.cs3d-list-wrap { position: relative; width: 100%; margin-top: 42px; overflow: visible; }
.cs3d-project-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; width: 100%; }
.cs3d-list-item { position: relative; display: block; height: 220px; overflow: hidden; border: 1px solid rgba(101, 45, 144, 0.24); background: rgba(255, 255, 255, 0.035); color: var(--tp-common-white-solid); font-family: var(--tp-ff-body); font-size: 18px; font-weight: 400; line-height: 1.15; transition: 0.4s ease; }
.cs3d-list-item:first-child { grid-column: span 2; grid-row: span 2; height: 454px; }
.cs3d-list-item::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(0deg, rgba(8, 9, 13, 0.88) 0%, rgba(8, 9, 13, 0.34) 54%, rgba(8, 9, 13, 0.04) 100%); content: ""; }
.cs3d-project-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs3d-list-item:hover { border-color: rgba(182, 107, 255, 0.72); box-shadow: 0 18px 35px rgba(101, 45, 144, 0.24); transform: translateY(-4px); }
.cs3d-project-icon { display: none; }
.cs3d-project-caption { position: absolute; z-index: 2; right: 10px; bottom: 30px; left: 10px; text-align: left; }
.cs3d-project-caption h3 { margin: 0; color: var(--tp-common-white-solid); font-family: 'agency', sans-serif; font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.025em; line-height: 0.98; text-align: left; text-shadow: 0 3px 24px rgba(0, 0, 0, 0.48); }
.cs3d-project-controls { margin-top: 10px; }
.cs3d-list-item:first-child .cs3d-project-caption h3 { font-size: clamp(20px, 2vw, 26px); }
.cs3d-project-icon svg { width: 21px; height: 21px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.cs3d-project-action { display: flex; width: max-content; margin: 30px auto 0; background: #652d90; color: var(--tp-common-white-solid); }
.cs3d-project-action:hover { background: #4f2072; color: var(--tp-common-white-solid); }
.cs3d-project-action span { display: none; }
.cs3d-project-action::after { content: "\f061"; font-family: "Font Awesome 6 Free"; font-size: 12px; font-weight: 900; }
.cs3d-content-placement { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr); gap: 0; align-items: stretch; padding-top: 48px; border-top: 0; border-radius: 12px; background: transparent; color: var(--tp-common-white-solid); }
.cs3d-content-placement::before { display: none; }
.cs3d-content-placement > * { position: relative; z-index: 2; }
.cs3d-content-placement-image { position: relative; z-index: 0 !important; width: calc(100% + (50vw - 50%)); min-height: 520px; margin-left: calc(50% - 50vw); overflow: hidden; border-radius: 0; }
.cs3d-content-placement-image img { display: block; width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform 0.7s ease; }
.cs3d-content-placement-image:hover img { transform: scale(1.035); }
.cs3d-content-placement-copy {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 48px;
    border-radius: 0 12px 12px 0;
    background: transparent;
    background-image: radial-gradient(circle at 86% 14%, rgba(0, 207, 255, 0.2), transparent 28%), radial-gradient(circle at 18% 92%, rgba(182, 107, 255, 0.22), transparent 30%), linear-gradient(122deg, #1c1029 0%, #55277d 56%, #073b59 100%), linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
}
.cs3d-content-placement-copy::before { position: static; z-index: 0; top: 0; right: -100vw; bottom: 0; left: 0; border-radius: 0 12px 12px 0; background-image: radial-gradient(circle at 86% 14%, rgba(0, 207, 255, 0.2), transparent 28%), radial-gradient(circle at 18% 92%, rgba(182, 107, 255, 0.22), transparent 30%), linear-gradient(122deg, #1c1029 0%, #55277d 56%, #073b59 100%), linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px); background-size: auto, auto, auto, 52px 52px, 52px 52px; content: ""; opacity: 0.98; pointer-events: none; }
.cs3d-content-placement-copy > * { position: relative; z-index: 1; }
.cs3d-content-placement-copy .cs3d-section-kicker { color: #9ceaff; }
.cs3d-content-placement-copy h2 { color: var(--tp-common-white-solid); }
.cs3d-projects-section .cs3d-content-placement-copy .cs3d-display { margin-right: auto; margin-left: 0; color: var(--tp-common-white-solid); }
.cs3d-content-placement-copy .cs3d-section-kicker,
.cs3d-content-placement-copy .cs3d-display { text-align: left; }
.cs3d-usage-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 36px; width: 100%; margin-top: 34px; }
.cs3d-usage-card {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    min-height: 78px;
    padding: 12px 8px;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--tp-common-white-solid);
    font-size: 21px;
    line-height: 1.2;
    transition: background 0.35s ease, transform 0.35s ease;
    border-bottom: 1px solid #ffffff1a;
}
.cs3d-usage-card::before { display: none; }
.cs3d-usage-card i { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border: 1px solid rgba(255, 255, 255, 0.72); border-radius: 50%; background: transparent; color: var(--tp-common-white-solid); font-size: 16px; }
.cs3d-usage-card span { position: relative; z-index: 1; }
.cs3d-usage-card:hover { background: transparent; box-shadow: none; transform: none; }
.cs3d-usage-card:hover i { border-color: rgba(255, 255, 255, 0.72); background: transparent; color: var(--tp-common-white-solid); transform: none; }

/* Keep the desktop content-placement block centered inside the page container. */
@media (min-width: 901px) {
  .cs3d-content-placement {
    width: 100%;
    max-width: 1180px;
    margin: 48px auto 0;
    padding-top: 0;
    overflow: hidden;
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  }
  .cs3d-content-placement-image {
    width: 100%;
    margin-left: 0;
    border-radius: 12px 0 0 12px;
  }
  .cs3d-content-placement-copy { min-width: 0; }
}

/* FAQ */
.cs3d-faq { max-width: 900px; margin: 52px auto 0; }
.cs3d-faq details { border-top: 1px solid var(--cs3d-line); }
.cs3d-faq details:last-child { border-bottom: 1px solid var(--cs3d-line); }
.cs3d-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; color: var(--cs3d-text); cursor: pointer; font-size: clamp(17px, 1.8vw, 21px); list-style: none; }
.cs3d-faq summary::-webkit-details-marker { display: none; }
.cs3d-faq summary::after { color: var(--cs3d-cyan); content: "+"; font-size: 28px; font-weight: 300; transition: transform 0.3s ease; }
.cs3d-faq details[open] summary::after { transform: rotate(45deg); }
.cs3d-faq details p { max-width: 620px; padding: 0 44px 24px 0; color: var(--cs3d-muted); font-size: 15px; font-weight: 300; line-height: 1.65; }
.cs3d-faq-section { background: var(--tp-common-white-solid); color: var(--cs3d-ink); }
.cs3d-faq-section > .cs3d-section-inner { padding-top: 56px; }
.cs3d-faq-section .cs3d-section-kicker { color: #652d90; }
.cs3d-faq-section h2 { color: var(--cs3d-ink); }
.cs3d-faq-section .cs3d-faq details { border-color: rgba(8, 9, 13, 0.16); }
.cs3d-faq-section .cs3d-faq summary { color: var(--cs3d-ink); }
.cs3d-faq-section .cs3d-faq summary::after { color: #652d90; }
.cs3d-faq-section .cs3d-faq details p { color: #555865; }

/* Call to action */
.cs3d-cta {
  display: flex;
  align-items: center;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 12, 24, 0.84) 0%, rgba(17, 13, 28, 0.64) 50%, rgba(7, 29, 40, 0.84) 100%),
    url("../img-pages/3d-service-films.png") center / cover no-repeat;
}
.cs3d-cta-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 48px; padding: 58px 0; text-align: left; }
.cs3d-cta h2 { position: relative; z-index: 1; grid-column: 1; max-width: 760px; margin: 0; color: var(--cs3d-text); text-align: left; }
.cs3d-cta p { position: relative; z-index: 1; grid-column: 1; max-width: 560px; margin: 14px 0 0; color: #c9c5d7; font-size: 15px; font-weight: 300; line-height: 1.6; text-align: left; }
.cs3d-cta .cs3d-button { position: relative; z-index: 1; grid-column: 2; grid-row: 1 / span 2; margin: 0; white-space: nowrap; font-size: 0; }
.cs3d-cta .cs3d-button::before { content: "Start the Experience"; font-size: 13px; letter-spacing: 0.09em; }
.cs3d-cta .cs3d-button span { font-size: 0; }

.cs3d-reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.cs3d-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Responsive adjustments */
@media (max-width: 767px) {
  /* Keep the mobile menu inside the viewport and lock the page behind it. */
  html:has(.tp-offcanvas-area.opened),
  body:has(.tp-offcanvas-area.opened) { overflow: hidden; }
  .tp-offcanvas-area {
    right: 0;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }
  .tp-offcanvas-area::-webkit-scrollbar { display: none; }
}

@media (max-width: 900px) {
  .cs3d-split-grid { grid-template-columns: 1fr; }
  .cs3d-hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .cs3d-hero-form { max-width: 480px; margin: 0 auto; }
  .cs3d-service-slide { width: 44%; flex-basis: 44%; }
  .cs3d-service-image { height: clamp(250px, 48vw, 380px); }
  .cs3d-service-image img { min-height: 0; }
  .cs3d-project-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cs3d-list-item:first-child { height: 360px; }
  .cs3d-service-menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 601px) and (max-width: 900px) {
  .cs3d-hero {
    min-height: auto;
    background-position: 68% center;
  }
  .cs3d-hero-inner {
    width: min(100% - 40px, 760px);
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    align-items: center;
    gap: 32px;
    padding: 96px 0 72px;
  }
  .cs3d-hero h1 { max-width: 520px; font-size: clamp(40px, 5.8vw, 50px); }
  .cs3d-hero-copy { max-width: 560px; font-size: 16px; line-height: 1.55; }
  .cs3d-hero-actions { margin-top: 28px; }
  .cs3d-hero-form { padding: 22px; }
  .cs3d-hero-form h2 { font-size: 25px; }
  .cs3d-hero-form-fields { gap: 10px; margin-top: 18px; }
  .cs3d-hero-form-fields input,
  .cs3d-hero-form-fields select { height: 40px; }
}

@media (max-width: 600px) {
  .cs3d-hero { min-height: 93vh; border-bottom: 0; background-position: 65% center; }
  .cs3d-split-grid { gap: 24px; }
  .cs3d-hero-inner, .cs3d-section-inner, .cs3d-cta-inner { width: min(100% - 32px, 1240px); }
  .cs3d-hero-inner { gap: 34px; padding: 84px 0 48px; }
  .cs3d-hero h1 { max-width: none; font-size: clamp(32px, 10vw, 40px); }
  .cs3d-hero-copy { font-size: 16px; }
  .cs3d-hero-actions { gap: 10px; margin-top: 28px; }
  .cs3d-hero-actions .cs3d-button { width: 100%; }
  .cs3d-hero-form { padding: 20px; }
  .cs3d-hero-form h2 { font-size: 24px; }
  .cs3d-hero-form-fields { gap: 10px; margin-top: 18px; }
  .cs3d-section-inner { padding: 72px 0; }
  .cs3d-stats-inner { grid-template-columns: 1fr; width: 100%; }
  .cs3d-stats { padding-top: 20px; }
  .cs3d-stat { min-height: 110px; padding: 18px 20px; }
  .cs3d-stat + .cs3d-stat { border-top: 1px solid rgba(255, 255, 255, 0.2); border-left: 0; }
  .cs3d-stat strong { font-size: 42px; }
  .cs3d-stat span { margin-top: 12px; }
  .cs3d-services-slider { margin-top: 36px; }
  .cs3d-service-slide { width: 100%; flex-basis: 100%; }
  .cs3d-service-image { height: 250px; }
  .cs3d-service-image img { min-height: 0; }
  .cs3d-service-slide::before { right: 24px; width: 76px; height: 76px; font-size: 19px; opacity: 0.9; pointer-events: auto; transform: translate(0, -50%); }
  .cs3d-slider-controls { margin-top: 18px; }
  .cs3d-service-menu { grid-template-columns: 1fr; margin-top: 32px; }
  .cs3d-content-placement { grid-template-columns: 1fr; gap: 48px; padding-top: 0; }
  .cs3d-content-placement-copy { padding: 36px 24px 42px; border-radius: 0 0 12px 12px; }
  .cs3d-content-placement-image { position: relative; inset: auto; width: 100%; height: auto; min-height: 320px; margin-left: 0; border-radius: 2px; }
  .cs3d-content-placement-image img { height: 100%; min-height: 320px; }
  .cs3d-projects-section > .cs3d-section-inner { --cs3d-right-bleed: 16px; width: calc(100% - 32px); padding-top: 32px; padding-bottom: 16px; }
  .cs3d-page { --cs3d-heading-size: 32px; }
  .cs3d-usage-grid { grid-template-columns: 1fr; margin-top: 34px; }
  .cs3d-list-wrap { margin-top: 30px; }
  .cs3d-list-item { height: 250px; min-height: 0; flex-basis: 100%; font-size: 20px; }
  .cs3d-project-track { grid-template-columns: 1fr; }
  .cs3d-list-item:first-child { grid-column: span 1; grid-row: auto; height: 250px; }
  .cs3d-cta { min-height: 0; background-position: center; }
  .cs3d-cta-inner { grid-template-columns: 1fr; row-gap: 14px; padding: 56px 0; text-align: left; }
  .cs3d-cta .cs3d-button { grid-column: 1; grid-row: auto; margin-top: 12px; justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  .cs3d-reveal, .cs3d-usage-card, .cs3d-button { transition: none; }
}
