:root {
  --navy: #0f172a;
  --ink: #111827;
  --steel: #1e293b;
  --cyan: #00b4d8;
  --sky: #38bdf8;
  --orange: #f97316;
  --white: #ffffff;
  --mist: #e2e8f0;
  --slate: #cbd5e1;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--navy);
  color: var(--mist);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: "Montserrat", sans-serif;
  letter-spacing: 0;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(56, 189, 248, 0.35);
  color: #fff;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 40%, rgba(0, 180, 216, 0.18), transparent 32%), #070b14;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(226, 232, 240, 0.16);
  border-top-color: var(--cyan);
  border-right-color: var(--orange);
  border-radius: 999px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--cyan), var(--orange));
  box-shadow: 0 0 18px rgba(56, 189, 248, 0.65);
}

.nav-shell {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.nav-shell.is-scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-color: rgba(15, 23, 42, 0.12);
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
}

.brand-logo {
  display: block;
  width: 176px;
  height: 82px;
  object-fit: contain;
}

.nav-shell a {
  color: var(--navy);
}

.nav-shell a.text-sky-300 {
  color: #0284c7;
}

.nav-shell [data-mobile-menu] {
  background: rgba(255, 255, 255, 0.98) !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
}

.nav-shell [data-menu-toggle] {
  color: var(--navy);
  background: rgba(15, 23, 42, 0.06);
  border-color: rgba(15, 23, 42, 0.12);
}

footer {
  background: #f8fafc !important;
  border-color: rgba(15, 23, 42, 0.10) !important;
}

footer .text-white,
footer h3 {
  color: var(--navy) !important;
}

footer .text-slate-400,
footer .text-slate-500,
footer p,
footer a {
  color: #475569 !important;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 46px;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.btn-primary {
  color: #07111f;
  background: linear-gradient(135deg, var(--sky), var(--cyan) 48%, var(--orange));
  box-shadow: 0 18px 40px rgba(0, 180, 216, 0.25);
}

.btn-secondary {
  color: #fff;
  border: 1px solid rgba(226, 232, 240, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.btn-ghost {
  color: var(--sky);
  border: 1px solid rgba(56, 189, 248, 0.24);
  background: rgba(56, 189, 248, 0.06);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(56, 189, 248, 0.22);
}

.section-pad {
  padding: 96px 0;
}

.page-hero {
  min-height: 58vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg,
.image-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg {
  animation: slowZoom 18s ease-in-out infinite alternate;
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.industrial-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 20, 0.96) 0%, rgba(15, 23, 42, 0.82) 42%, rgba(15, 23, 42, 0.42) 100%),
    radial-gradient(circle at 72% 26%, rgba(0, 180, 216, 0.22), transparent 28%),
    radial-gradient(circle at 25% 80%, rgba(249, 115, 22, 0.18), transparent 25%);
}

.tech-grid {
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(56, 189, 248, 0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(56, 189, 248, 0.10) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.95), transparent 80%);
}

.air-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.8;
}

.glass {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.045));
  border: 1px solid rgba(226, 232, 240, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.industrial-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.72), rgba(15, 23, 42, 0.92));
  border: 1px solid rgba(226, 232, 240, 0.10);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 18px 50px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.industrial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.12), transparent 36%, rgba(249, 115, 22, 0.10));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.industrial-card:hover {
  transform: translateY(-8px);
  border-color: rgba(56, 189, 248, 0.36);
  box-shadow: 0 28px 70px rgba(0, 180, 216, 0.14);
}

.industrial-card:hover::before {
  opacity: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--sky);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), var(--cyan));
}

.service-card img,
.project-card img,
.industry-card img {
  transition: transform 0.55s ease, filter 0.55s ease;
}

.service-card:hover img,
.project-card:hover img,
.industry-card:hover img {
  transform: scale(1.08);
  filter: saturate(1.12) contrast(1.04);
}

.icon-box {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 180, 216, 0.22), rgba(249, 115, 22, 0.22));
  border: 1px solid rgba(226, 232, 240, 0.12);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.18);
}

.stat-tile {
  border-left: 2px solid rgba(56, 189, 248, 0.65);
  background: rgba(255, 255, 255, 0.055);
}

.timeline-line {
  background: linear-gradient(180deg, var(--cyan), var(--orange));
  box-shadow: 0 0 28px rgba(56, 189, 248, 0.32);
}

.swiper-pagination-bullet {
  background: rgba(226, 232, 240, 0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--orange);
}

.faq-item[open] summary {
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.float-action {
  position: fixed;
  right: 18px;
  z-index: 9900;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease;
}

.float-action:hover {
  transform: translateY(-3px) scale(1.04);
}

.float-whatsapp {
  bottom: 94px;
  background: #16a34a;
}

.float-call {
  bottom: 30px;
  background: linear-gradient(135deg, var(--cyan), var(--orange));
}

.scroll-top {
  position: fixed;
  left: 18px;
  bottom: 30px;
  z-index: 9900;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  opacity: 0;
  visibility: hidden;
  background: rgba(15, 23, 42, 0.82);
  border: 1px solid rgba(226, 232, 240, 0.12);
  backdrop-filter: blur(16px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.filter-btn.is-active {
  color: #07111f;
  background: linear-gradient(135deg, var(--sky), var(--orange));
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 18, 0.78);
  backdrop-filter: blur(12px);
}

.project-modal.is-open {
  display: grid;
}

.masonry {
  columns: 1;
  column-gap: 24px;
}

.masonry > * {
  break-inside: avoid;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3;
  }
}

@media (max-width: 767px) {
  .section-pad {
    padding: 72px 0;
  }

  .hero-home {
    min-height: 100svh;
    padding-top: 110px;
  }

  .brand-logo {
    width: 140px;
    height: 66px;
  }

  .btn-primary,
  .btn-secondary,
  .btn-ghost {
    width: 100%;
  }

  .hero-home .btn-primary,
  .hero-home .btn-secondary {
    width: calc(100% - 68px);
  }

  .float-action {
    right: 14px;
    width: 48px;
    height: 48px;
  }
}
