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

html,
body {
  width: 100%;
  height: 100%;
  background-color: #0e0523;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  overflow-x: hidden;
}

.glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Hero Section - Scrollable Background */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-size: 100% 100%;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 10px;
  z-index: 1;
}

.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: min(30vw, 600px);
  height: auto;
  filter: drop-shadow(0 0 80px rgba(255, 255, 255, 0.8));
  margin-top: 60px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 0 40px;
  max-width: 900px;
  margin: 0 auto;
  gap: 50px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-shadow:
    0 0 2px rgba(255, 255, 255, 1),
    0 0 5px rgba(255, 255, 255, 1),
    0 0 10px rgba(255, 255, 255, 1),
    0 0 15px rgba(255, 255, 255, 1),
    0 0 30px rgba(255, 255, 255, 0.9),
    0 0 50px rgba(255, 255, 255, 0.8);
}

.hero-title {
  font-family: "Patua One", serif;
  font-size: 3.5em;
  color: #000;
  margin: 0;
  line-height: 1.1;
}

.hero-intro {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  font-size: 1.5em;
  color: #000;
  margin: 0;
  font-weight: 400;
  line-height: 1.6;
}

.hero-body {
  font-family: inherit;
  font-size: 1.2em;
  color: #000;
  margin: 0;
  font-weight: 400;
  line-height: 1.8;
}

.hero-cta {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    sans-serif;
  font-size: 1.3em;
  color: #000;
  margin: 0;
  font-weight: 400;
}

.hero-phone {
  font-family: "Patua One", serif;
  font-size: 3.5em;
  font-weight: 600;
  color: #000;
  margin: 0;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.hero-phone i {
  font-size: 0.8em;
}

.hero-email {
  font-family: inherit;
  font-size: 1.4em;
  color: #000;
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.hero-email i {
  font-size: 1em;
}

.hero-scroll-cue {
  align-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: 6px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.2em;
  color: rgba(17, 8, 34, 0.9);
  cursor: pointer;
  opacity: 0.9;
  transition:
    opacity 280ms ease,
    transform 280ms ease;
}

.hero-scroll-cue.is-hidden {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.hero-scroll-text {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: none;
}

.hero-scroll-chevron {
  width: 16px;
  height: 16px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -1px;
  animation: heroChevronPulse 2.4s ease-in-out infinite;
}

@keyframes heroChevronPulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateY(0) rotate(45deg) scale(0.92);
  }

  50% {
    opacity: 1;
    transform: translateY(6px) rotate(45deg) scale(1);
  }
}

.intro-text {
  font-size: clamp(1.15rem, 1rem + 1vw, 1.6rem) !important;
  color: #e0e0e0;
  margin: 0 auto 15px;
  font-weight: 400;
  line-height: 1.4;
  width: min(50vw, 760px);
  max-width: 100%;
}

.intro-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: intro-item;
  text-align: left;
}

.intro-list li {
  counter-increment: intro-item;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  min-height: 3.25rem;
  padding: 0.85em 1.25em;
  border-radius: 999px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 18px 38px rgba(4, 1, 16, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -10px 18px rgba(24, 8, 44, 0.22);
  color: #fbfaff;
  line-height: 1.3;
}

.intro-list li::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.18) 0%,
    rgba(255, 255, 255, 0.08) 14%,
    rgba(255, 255, 255, 0.02) 28%,
    transparent 62%
  );
  opacity: 0.45;
  pointer-events: none;
}

.intro-list li::before {
  content: counter(intro-item);
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 0.85em;
  font-weight: 600;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.glass-shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  opacity: 1;
  mix-blend-mode: normal;
}

.glass-label {
  position: relative;
  z-index: 1;
  letter-spacing: 0.01em;
}

.intro-list li.no-webgl {
  background:
    radial-gradient(
      circle at 22% 12%,
      rgba(255, 255, 255, 0.26),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      rgba(132, 107, 170, 0.34),
      rgba(50, 23, 82, 0.42) 60%,
      rgba(24, 8, 44, 0.52)
    );
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  backdrop-filter: blur(24px) saturate(150%);
}

.body-text {
  font-family: inherit;
  font-size: 1.2em;
  color: #cccccc;
  margin: 0;
  font-weight: 400;
  line-height: 1.8;
}

/* Main Content - Starts where Hero ends */
.main-content {
  position: relative;
  z-index: 2;
  min-height: calc(100vh - 100px);
}

.intro-section {
  background-color: #0e0523;
  text-align: center;
}

.intro-content {
  padding: 22px 40px 90px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}

.intro-content h1 {
  font-family: "Patua One", serif;
  font-size: 3em;
  margin: 0;
  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 240, 255, 0.9) 36%,
    rgba(212, 195, 255, 0.54) 72%,
    rgba(176, 154, 226, 0.4) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  filter: url(#glass-text-filter);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(2, 0, 10, 0.26);
}

.intro-content p,
.intro-content ol {
  color: #ebedeb;
}

.service-area-note {
  width: min(100%, 760px);
  margin-top: 36px;
  padding-top: 28px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.service-area-kicker {
  font-size: 0.8rem !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.64) !important;
  margin: 0 0 10px 0 !important;
}

.service-area-text {
  margin: 0;
  color: #e4dff2;
  line-height: 1.7;
}

.content-stack {
  position: relative;
  overflow: hidden;
  background-color: #0e0523;
}

.content-ambient {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2205px;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(14px);
  z-index: 0;
}

.content-section {
  position: relative;
  background-color: transparent;
  z-index: 1;
}

.content-section + .content-section::before {
  content: "";
  display: block;
  width: min(calc(100% - 80px), 1200px);
  height: 1px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.07);
}

.section-content {
  padding: 60px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: 56px;
}

.service-grid-reverse .service-figure {
  order: 2;
}

.service-grid-reverse .service-copy {
  order: 1;
}

.service-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
}

.service-illustration {
  width: min(100%, 420px);
  height: auto;
  display: block;
  filter: drop-shadow(0 28px 36px rgba(3, 0, 13, 0.36));
}

.service-copy {
  max-width: 640px;
}

.service-lead {
  font-size: 1.24em !important;
  line-height: 1.7 !important;
  color: #f2eefb !important;
  margin-bottom: 20px !important;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.service-detail-card {
  padding: 22px 22px 20px;
  border-radius: 24px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.03)
    ),
    rgba(21, 9, 44, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 18px 28px rgba(4, 1, 16, 0.18);
}

.service-detail-card h3 {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
  font-size: 1.3em !important;
}

.service-detail-card p {
  margin: 0 !important;
  color: #ddd6f0 !important;
  line-height: 1.7 !important;
}

.service-gallery-shell {
  --gallery-item-width: 124px;
  --gallery-item-height: 92px;
  width: min(100%, 400px);
  text-align: left;
}

.service-gallery-label {
  font-size: 0.74rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 0 10px 0 !important;
}

.service-gallery-empty {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.12);
  color: rgba(236, 232, 245, 0.72);
  background: rgba(255, 255, 255, 0.03);
}

.service-gallery {
  position: relative;
  overflow: visible;
}

.service-gallery-viewport {
  overflow: hidden;
}

.service-gallery-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  touch-action: pan-y;
}

.service-gallery-track::-webkit-scrollbar {
  display: none;
}

.service-gallery-track.is-dragging {
  cursor: grabbing;
}

.service-gallery-item {
  flex: 0 0 auto;
  width: var(--gallery-item-width);
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
}

.service-gallery-thumb {
  display: block;
  width: var(--gallery-item-width);
  height: var(--gallery-item-height);
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 14px 20px rgba(4, 1, 16, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.service-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(11, 4, 26, 0.86);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 10px 18px rgba(4, 1, 16, 0.28);
}

.service-gallery-nav[hidden] {
  display: none;
}

.service-gallery-nav-left {
  left: -42px;
}

.service-gallery-nav-right {
  right: -42px;
}

.gallery-lightbox {
  margin: auto;
  padding: 24px;
  border: 0;
  background: rgba(7, 2, 17, 0.9);
  max-width: min(96vw, 1440px);
  width: 100%;
  border-radius: 28px;
}

.gallery-lightbox::backdrop {
  background: rgba(3, 1, 10, 0.78);
  backdrop-filter: blur(10px);
}

.gallery-lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(82vh, 980px);
}

.gallery-lightbox-image {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 18px;
}

.gallery-lightbox,
.gallery-lightbox-stage,
.gallery-lightbox-image,
.gallery-lightbox-close,
.gallery-lightbox-nav {
  user-select: none;
  -webkit-user-select: none;
}

.gallery-lightbox-image {
  -webkit-user-drag: none;
}

.gallery-lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 4;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 68px;
  height: 68px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(4, 1, 16, 0.32);
  z-index: 4;
}

.gallery-lightbox-nav[hidden] {
  display: none;
}

.gallery-lightbox-nav-left {
  left: 18px;
}

.gallery-lightbox-nav-right {
  right: 18px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 3, 20, 0.9);
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.site-footer-link {
  color: #f1ebfb;
  text-decoration: none;
  font-size: 0.98rem;
  line-height: 1;
}

.site-footer-link:hover {
  color: #ffffff;
}

.site-footer-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.2);
}

.content-section h2 {
  font-family: "Patua One", serif;
  font-size: 3em;
  margin-bottom: 20px;
  color: transparent;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(246, 240, 255, 0.9) 36%,
    rgba(212, 195, 255, 0.54) 72%,
    rgba(176, 154, 226, 0.4) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.16);
  filter: url(#glass-text-filter);
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.18),
    0 10px 24px rgba(2, 0, 10, 0.26);
}

.content-section h3 {
  font-family: "Patua One", serif;
  font-size: 2em;
  margin-bottom: 15px;
  color: #f3eefc;
  margin-top: 30px;
}

.content-section p {
  font-size: 1.1em;
  line-height: 1.6;
  color: #ebedeb;
  margin-bottom: 15px;
}

@media (max-width: 1100px) {
  .hero-section {
    min-height: auto;
    background-size: cover;
    background-position: center top;
    padding: 24px 0 40px;
  }

  .hero-content {
    gap: 28px;
    padding: 0 24px 20px;
  }

  .hero-logo {
    width: min(52vw, 360px);
    margin-top: 16px;
  }

  .hero-phone {
    font-size: clamp(2.2rem, 5vw, 3rem);
    flex-wrap: wrap;
  }

  .hero-email,
  .hero-cta {
    font-size: 1.08rem;
  }

  .hero-scroll-cue {
    display: none;
  }

  .intro-content {
    padding: 28px 24px 72px;
  }

  .intro-content h1 {
    font-size: clamp(2.2rem, 4vw, 3rem);
  }

  .section-content {
    padding: 52px 24px;
  }

  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .service-copy {
    order: 1;
    max-width: none;
    display: contents;
  }

  .service-copy h2,
  .service-copy .service-lead {
    order: 1;
  }

  .service-figure {
    order: 2;
    width: 100%;
  }

  .service-copy .service-detail-grid {
    order: 3;
    margin-top: 0;
  }

  .service-gallery-shell {
    width: min(100%, 460px);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    min-height: auto;
    background-size: cover;
    background-position: center top;
    padding: 16px 0 28px;
  }

  .hero-content {
    gap: 20px;
    padding: 0 18px 8px;
  }

  .hero-logo {
    width: min(64vw, 280px);
    margin-top: 8px;
    filter: drop-shadow(0 0 44px rgba(255, 255, 255, 0.55));
  }

  .hero-cta {
    font-size: 0.98rem;
  }

  .hero-phone {
    font-size: clamp(1.9rem, 9vw, 2.5rem);
    gap: 8px;
    line-height: 1.05;
  }

  .hero-email {
    font-size: 1rem;
    gap: 8px;
    flex-wrap: wrap;
  }

  .content-section {
    padding: 0 20px;
  }

  .content-section + .content-section::before {
    width: calc(100% - 40px);
  }

  .section-content {
    padding: 40px 0;
  }

  .service-grid {
    gap: 24px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-area-note {
    margin-top: 24px;
    padding-top: 18px;
  }

  .service-figure {
    min-height: 0;
    gap: 16px;
  }

  .service-illustration {
    width: min(100%, 320px);
  }

  .service-gallery-shell {
    width: 100%;
    max-width: 100%;
  }

  .service-gallery-nav-left {
    left: -10px;
  }

  .service-gallery-nav-right {
    right: -10px;
  }

  .gallery-lightbox {
    padding: 18px 12px;
    max-width: 100vw;
    border-radius: 20px;
  }

  .gallery-lightbox-stage {
    min-height: min(72vh, 720px);
  }

  .gallery-lightbox-image {
    max-height: 72vh;
  }

  .gallery-lightbox-nav {
    width: 52px;
    height: 52px;
    font-size: 1.3rem;
  }

  .gallery-lightbox-nav-left {
    left: 8px;
  }

  .gallery-lightbox-nav-right {
    right: 8px;
  }

  .site-footer-inner {
    padding: 12px 20px;
    gap: 10px;
    flex-wrap: wrap;
  }

  .site-footer-link {
    font-size: 0.92rem;
  }

  .content-section h2 {
    font-size: clamp(1.9rem, 7vw, 2.35rem);
    margin-bottom: 14px;
  }

  .content-section h3 {
    font-size: 1.35rem;
  }

  .content-section p {
    font-size: 1rem;
  }

  .intro-content {
    padding: 16px 20px 52px;
    gap: 18px;
  }

  .content-ambient {
    height: 1395px;
    opacity: 0.38;
  }

  .intro-content h1 {
    font-size: clamp(2rem, 9vw, 2.45rem);
  }

  .intro-text {
    width: 100%;
  }

  .intro-list {
    gap: 10px;
  }

  .intro-list li {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .hero-content {
    padding: 0 14px 8px;
  }

  .hero-logo {
    width: min(72vw, 250px);
  }

  .hero-phone {
    font-size: clamp(1.75rem, 10vw, 2.15rem);
  }

  .hero-email,
  .hero-cta {
    font-size: 0.92rem;
  }

  .intro-content {
    padding: 12px 14px 44px;
  }

  .intro-list li {
    padding: 0.8em 1em;
    min-height: 3rem;
  }

  .section-content {
    padding: 34px 0;
  }

  .service-detail-card {
    padding: 18px 18px 16px;
    border-radius: 20px;
  }

  .service-gallery-shell {
    --gallery-item-width: 112px;
    --gallery-item-height: 84px;
  }

  .service-gallery-thumb {
    border-radius: 14px;
  }

  .gallery-lightbox-close {
    top: 10px;
    right: 10px;
  }

  .site-footer-divider {
    display: none;
  }
}
