:root {
  color-scheme: light;
  --bg: #0b0f1a;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.14);
  --surface-light: rgba(255, 255, 255, 0.22);
  --text: #f4f6fb;
  --muted: rgba(244, 246, 251, 0.7);
  --accent: #4dd7ff;
  --accent-strong: #2e7bff;
  --accent-soft: rgba(77, 215, 255, 0.18);
  --shadow: 0 20px 50px rgba(15, 20, 40, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at top, rgba(46, 123, 255, 0.25), transparent 55%),
    var(--bg);
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-card {
  display: grid;
  gap: 1rem;
  padding: 2rem 2.4rem;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  text-align: center;
  justify-items: center;
}

.loader-icon {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
  display: grid;
  place-items: center;
}

.loader-icon .pipe {
  width: 18px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

.loader-icon .pipe::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 36px;
  height: 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  transform: translateX(-50%);
}

.loader-icon .drop {
  position: absolute;
  width: 14px;
  height: 20px;
  background: #ffffff;
  border-radius: 50% 50% 50% 50% / 65% 65% 35% 35%;
  transform: translateY(0);
  bottom: -22px;
  animation: drip 1.1s ease-in-out infinite;
}

.loader-title {
  display: block;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 0.85rem;
}

.loader-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.loader-text {
  margin-top: 1.8rem;
}

@keyframes drip {
  0%,
  100% {
    transform: translateY(-2px);
    opacity: 0.3;
  }
  50% {
    transform: translateY(10px);
    opacity: 1;
  }
}

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

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

.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.bg-glow {
  position: fixed;
  inset: auto;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: -1;
}

.bg-glow-1 {
  top: -120px;
  left: -80px;
  background: #2e7bff;
}

.bg-glow-2 {
  bottom: -140px;
  right: -100px;
  background: #4dd7ff;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: transparent;
  border-bottom: 1px solid transparent;
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease,
    border 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(11, 15, 26, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 50%;
  background: #ffffff;
  padding: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.2rem;
  color: #02111f;
}

.brand-text {
  display: flex;
  flex-direction: column;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
}

.brand-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.brand-subtitle {
  color: var(--muted);
}

.header-actions {
  display: none;
  gap: 0.6rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #031120;
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text);
  background: transparent;
}

.btn-light {
  background: var(--surface-light);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.15);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.hero {
  padding: 0 0 3rem;
  position: relative;
}

.hero-video {
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(7, 10, 20, 0.78),
    rgba(7, 10, 20, 0.4)
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 6rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 1.6rem 0;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.hero-card {
  display: grid;
}

.card {
  background: var(--surface);
  padding: 2rem;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
}

.card h2 {
  margin-top: 0;
}

.card-metrics {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0;
}

.metric {
  font-size: 1.4rem;
  font-weight: 700;
}

.metric-label {
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  padding: 3.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.03);
}

.section-gallery {
  position: relative;
}

.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.gallery-card {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(5, 10, 25, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

.gallery-card--tall {
  min-height: 280px;
}

.section-compare {
  background: rgba(255, 255, 255, 0.02);
}

.compare-grid {
  display: grid;
  gap: 1.4rem;
}

.compare-card {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 36px rgba(5, 10, 25, 0.2);
}

.compare-slider {
  overflow: hidden;
  padding: 1.1rem;
  min-height: 360px;
}

.compare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.compare-after {
  position: absolute;
  inset: 1.1rem;
  overflow: hidden;
  border-radius: 18px;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.compare-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-labels {
  position: absolute;
  top: 1.6rem;
  left: 1.6rem;
  right: 1.6rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 2;
}

.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 3;
}

.compare-handle {
  position: absolute;
  top: 1.1rem;
  bottom: 1.1rem;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

.compare-handle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  background: rgba(11, 15, 26, 0.7);
  transform: translate(-50%, -50%);
}

.compare-label {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: rgba(77, 215, 255, 0.15);
  color: var(--accent);
  font-weight: 600;
}

.section-header {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.service-card {
  padding: 1.3rem 1.4rem;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px rgba(5, 10, 25, 0.2);
  font-weight: 600;
}

.split {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.highlight {
  background: linear-gradient(135deg, rgba(77, 215, 255, 0.15), rgba(46, 123, 255, 0.25));
  padding: 2rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.stats {
  display: grid;
  gap: 1rem;
}

.stat-card {
  background: var(--surface);
  padding: 1.4rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
  font-size: 1.3rem;
  font-weight: 700;
}

.stat-label {
  display: block;
  color: var(--muted);
}

.section-contact {
  padding-top: 1.5rem;
}

.contact-card {
  display: grid;
  gap: 2rem;
  background: var(--surface);
  padding: 2.5rem;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
}

.contact-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.contact-actions {
  display: grid;
  gap: 0.8rem;
}

.contact-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 0.9rem 1.6rem;
}

.site-footer {
  padding: 2.5rem 0 2rem;
  color: var(--muted);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.footer-inner a {
  color: var(--muted);
  font-weight: 600;
}

.footer-inner a:hover {
  color: var(--text);
}

.footer-brand {
  display: grid;
  gap: 0.3rem;
}

.footer-title {
  color: var(--text);
  font-weight: 700;
}

.footer-subtitle {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links {
  display: grid;
  gap: 0.4rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  color: rgba(244, 246, 251, 0.6);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: inherit;
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--text);
}

@media (min-width: 768px) {
  .header-actions {
    display: flex;
  }

  .hero {
    padding: 5rem 0 4rem;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
    align-items: stretch;
  }

  .gallery-card {
    height: 100%;
  }

  .gallery-card:first-child {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
  }

  .gallery-card--tall {
    grid-column: 3 / 5;
    grid-row: 1 / 4;
  }

  .gallery-card:last-child {
    grid-column: 5 / 7;
    grid-row: 2 / 4;
  }

  .compare-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .compare-slider {
    min-height: 420px;
  }

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

  .card-metrics {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .contact-card {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .contact-actions {
    justify-items: start;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner {
    padding: 0.6rem 0;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-text {
    font-size: 0.6rem;
    letter-spacing: 0.05em;
  }

  .header-actions {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }

  .header-actions .btn {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
  }

  .hero-content {
    padding-top: 4.25rem;
  }

  .hero-copy h1 {
    font-size: 1.85rem;
    line-height: 1.2;
  }

  .lead {
    font-size: 0.95rem;
  }

  .card {
    padding: 1.5rem;
  }

  .hero-grid {
    gap: 1.4rem;
  }

  .hero-actions {
    margin: 1.2rem 0;
  }

  .hero-badges {
    font-size: 0.82rem;
  }

  .hero-video {
    min-height: 88vh;
  }

  .gallery-grid {
    gap: 0.9rem;
  }

  .gallery-card--tall {
    min-height: 220px;
  }

  .section {
    padding: 2.2rem 0;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .compare-slider {
    min-height: 320px;
  }

  .footer-inner,
  .footer-bottom {
    text-align: center;
    align-items: center;
  }

  .loader-card {
    padding: 1.6rem;
    border-radius: 22px;
  }

  .loader-icon {
    width: 64px;
    height: 64px;
  }

  .loader-icon .pipe {
    width: 14px;
    height: 48px;
  }

  .loader-icon .pipe::after {
    bottom: -8px;
    width: 28px;
    height: 16px;
  }

  .loader-icon .drop {
    width: 9px;
    height: 14px;
    bottom: -16px;
  }

  .loader-title {
    font-size: 0.75rem;
  }

  .loader-subtitle {
    font-size: 0.85rem;
  }
}
