:root {
  --bg: #05060a;
  --bg-soft: #0f111a;
  --card: rgba(15, 17, 26, 0.8);
  --card-light: rgba(255, 255, 255, 0.04);
  --primary: #5ddcff;
  --secondary: #b972ff;
  --accent: #00c2a8;
  --text: #f2f6ff;
  --muted: #96a1c2;
  --border: rgba(255, 255, 255, 0.12);
  --blur: blur(24px);
  font-family: "Space Grotesk", "Inter", "Segoe UI", sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(5, 6, 10, 0.9);
  backdrop-filter: var(--blur);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.logo-text span {
  font-weight: 600;
  display: block;
}

.logo-text small {
  color: var(--muted);
  font-size: 0.8rem;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #05060a;
}

.btn.secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: transparent;
}

.btn.ghost {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.5rem 1.25rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(93, 220, 255, 0.2);
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: clamp(3rem, 7vw, 6rem) clamp(1.25rem, 5vw, 4rem);
}

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1rem;
}

.hero-highlights li {
  padding: 1rem 1.25rem;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
}

.hero-highlights .label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.hero-visual {
  border-radius: 32px;
  background: rgba(8, 10, 18, 0.85);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-slider {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.7);
  min-height: 320px;
  aspect-ratio: 4 / 3;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transform: scale(1.02);
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05);
}

.slide-caption {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  right: 1.5rem;
  padding: 1rem 1.25rem;
  border-radius: 18px;
  background: rgba(5, 6, 10, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.caption-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--primary);
  font-size: 0.7rem;
  margin: 0 0 0.35rem;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.45);
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}

.slider-nav:hover {
  background: rgba(255, 255, 255, 0.12);
}

.slider-nav.prev {
  left: 1rem;
}

.slider-nav.next {
  right: 1rem;
}

.slider-dots {
  position: absolute;
  display: flex;
  gap: 0.5rem;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
}

.dot.active {
  background: var(--primary);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  background: rgba(5, 6, 10, 0.8);
  border-radius: 18px;
  padding: 1rem;
  border: 1px solid var(--border);
}

.hero-metrics strong {
  font-size: 1.5rem;
  display: block;
}

.band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  background: rgba(93, 220, 255, 0.05);
  border-block: 1px solid var(--border);
}

section {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 5vw, 4rem);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
}

.section-header.narrow {
  max-width: 540px;
}

.service-grid,
.case-grid,
.team-grid,
.testimonial-grid,
.contact-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.service-grid article,
.case-grid article,
.contact-info article {
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  backdrop-filter: var(--blur);
}

.service-grid ul,
.case-grid ul {
  padding-left: 1.25rem;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.timeline article {
  position: relative;
  padding: 2rem 1.5rem 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card-light);
}

.timeline .step {
  position: absolute;
  top: -12px;
  left: 1.5rem;
  background: var(--bg);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.case-grid article ul {
  margin: 0;
}

.expertise {
  background: linear-gradient(135deg, rgba(93, 220, 255, 0.08), rgba(185, 114, 255, 0.05));
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill-list span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.team-grid article {
  text-align: center;
  border-radius: 24px;
  border: 1px solid var(--border);
  padding: 1.5rem;
  background: var(--card-light);
}

.team-grid img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  margin: 0 auto 1rem;
}

.testimonial-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.testimonial-grid figure {
  margin: 0;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.testimonial-grid blockquote {
  margin: 0;
  margin-bottom: 1rem;
  font-style: italic;
  color: var(--muted);
}

.contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(5, 6, 10, 0.7);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--primary);
  border-color: transparent;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.site-footer {
  padding: 2rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.4);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  color: var(--muted);
}

.back-to-top {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text);
}

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

@media (max-width: 900px) {
  .site-nav {
    position: absolute;
    inset: 100% 1.25rem auto;
    flex-direction: column;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    padding: 1rem;
    border-radius: 16px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-metrics {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
}

@media (max-width: 600px) {
  .site-header {
    padding: 1.25rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
