:root {
  --bg: #09111f;
  --bg-soft: #111d33;
  --surface: rgba(10, 19, 36, 0.72);
  --surface-strong: #13213b;
  --card: rgba(18, 31, 56, 0.78);
  --line: rgba(168, 191, 255, 0.18);
  --text: #f5f7ff;
  --muted: #a9b4d0;
  --accent: #2ef2d0;
  --accent-strong: #56a6ff;
  --warm: #ff9658;
  --shadow: 0 24px 60px rgba(1, 7, 17, 0.45);
  --radius: 24px;
  --radius-small: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(46, 242, 208, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(86, 166, 255, 0.18), transparent 30%),
    linear-gradient(180deg, #08111f 0%, #0a1324 45%, #08101d 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: linear-gradient(180deg, rgba(255, 255, 255, 0.6), transparent 80%);
  pointer-events: none;
  z-index: -1;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-shell {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(8, 15, 28, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 14px;
  background:
    linear-gradient(145deg, rgba(46, 242, 208, 0.95), rgba(86, 166, 255, 0.9)),
    #fff;
  box-shadow: 0 10px 30px rgba(46, 242, 208, 0.26);
  position: relative;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 2px solid rgba(7, 14, 26, 0.72);
  border-radius: 10px;
}

.brand-mark::after {
  inset: 12px 8px 8px 12px;
  border-color: rgba(7, 14, 26, 0.52);
}

.brand-text {
  font-size: 1.15rem;
}

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

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

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

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  color: var(--text);
  padding: 0;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.menu-toggle span:first-child {
  top: 1.12rem;
}

.menu-toggle span:last-child {
  top: 1.78rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.35rem;
  padding: 0 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #07111f;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  box-shadow: 0 18px 32px rgba(47, 160, 255, 0.24);
}

.button:hover {
  transform: translateY(-2px);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.button-small {
  min-height: 2.85rem;
  padding: 0 1rem;
}

.hero-section,
.page-hero {
  padding: 5rem 0 2rem;
}

.hero-grid,
.page-hero-grid,
.split-layout,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.3rem);
  max-width: 12ch;
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  max-width: 14ch;
}

h3 {
  font-size: 1.35rem;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text,
.page-hero p {
  max-width: 60ch;
  font-size: 1.05rem;
}

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

.hero-stats,
.mini-metrics,
.timeline-grid,
.card-grid,
.project-grid,
.portfolio-grid,
.service-detail-grid,
.footer-grid {
  display: grid;
  gap: 1.2rem;
}

.hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 2rem;
}

.stat-card,
.info-card,
.timeline-card,
.project-card,
.service-detail-card,
.portfolio-card,
.contact-panel,
.contact-form-panel,
.cta-banner,
.metric-card,
.contact-link-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1.2rem;
}

.stat-card strong {
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.stat-card span {
  color: var(--muted);
}

.hero-visual,
.page-hero-art {
  position: relative;
}

.hero-visual img,
.page-hero-art img,
.split-visual img {
  width: 100%;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.floating-panel {
  position: absolute;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(7, 15, 28, 0.88);
  box-shadow: var(--shadow);
}

.panel-top {
  top: 7%;
  right: -4%;
}

.panel-bottom {
  bottom: 8%;
  left: -4%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.panel-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.panel-dot {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px var(--accent);
}

.logo-strip {
  padding: 1.2rem 0 0;
}

.logo-strip p {
  margin-bottom: 1rem;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo-row span,
.tag,
.filter-button {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-heading {
  margin-bottom: 2rem;
}

.section-heading p,
.split-copy p {
  max-width: 62ch;
}

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

.info-card,
.timeline-card,
.service-detail-card,
.contact-panel,
.contact-form-panel,
.project-copy,
.portfolio-copy {
  padding: 1.6rem;
}

.info-card a {
  color: var(--accent);
  font-weight: 700;
}

.icon-chip {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 16px;
  margin-bottom: 1rem;
  color: #07111f;
  background: linear-gradient(135deg, var(--accent), var(--warm));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.feature-list {
  padding: 0;
  margin: 1.4rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.95rem;
}

.feature-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
}

.project-grid,
.portfolio-grid,
.service-detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card,
.portfolio-card {
  overflow: hidden;
}

.project-card img,
.portfolio-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.timeline-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--accent);
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
}

.service-detail-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.service-detail-head .icon-chip {
  margin: 0;
  flex-shrink: 0;
}

.mini-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.5rem;
}

.metric-card {
  padding: 1.2rem;
}

.metric-card strong {
  display: block;
  margin-bottom: 0.3rem;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 1.8rem;
}

.filter-button {
  color: var(--text);
  cursor: pointer;
}

.filter-button.active {
  background: linear-gradient(135deg, rgba(46, 242, 208, 0.16), rgba(86, 166, 255, 0.16));
  border-color: rgba(46, 242, 208, 0.35);
}

.cta-banner {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 1.35rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
}

.faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.faq-content p {
  overflow: hidden;
  margin: 0;
  padding: 0 1.4rem 0;
}

.faq-item.open .faq-content {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-content p {
  padding-bottom: 1.4rem;
}

.contact-grid {
  align-items: start;
}

.contact-stack {
  display: grid;
  gap: 1rem;
  margin-top: 1.4rem;
}

.contact-link-card {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 1.3rem;
}

.project-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.project-form label {
  display: grid;
  gap: 0.55rem;
}

.project-form span {
  color: var(--text);
  font-weight: 500;
}

.project-form input,
.project-form select,
.project-form textarea {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 1rem 1rem;
  outline: none;
}

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: rgba(46, 242, 208, 0.55);
  box-shadow: 0 0 0 3px rgba(46, 242, 208, 0.12);
}

.project-form option {
  color: #08111f;
}

.site-footer {
  padding: 2rem 0 4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  grid-template-columns: 1.7fr 1fr 1fr;
  align-items: start;
}

.footer-grid h4 {
  margin-bottom: 0.85rem;
  font-size: 1rem;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 0.7rem;
}

.footer-brand {
  margin-bottom: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 25;
  min-height: 3.45rem;
  padding: 0 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #21e38a, #1bcf7c);
  color: #07111f;
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  box-shadow: 0 18px 36px rgba(28, 206, 123, 0.3);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .page-hero-grid,
  .split-layout,
  .contact-grid,
  .card-grid,
  .project-grid,
  .portfolio-grid,
  .service-detail-grid,
  .timeline-grid,
  .footer-grid,
  .mini-metrics {
    grid-template-columns: 1fr;
  }

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

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-top,
  .panel-bottom {
    position: static;
    margin-top: 1rem;
  }

  .hide-mobile {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 1rem;
    right: 1rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(8, 15, 28, 0.96);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .hero-section,
  .page-hero,
  .section {
    padding: 4rem 0;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: 100%;
  }

  h2 {
    max-width: 100%;
  }

  .container {
    width: min(calc(100% - 1.4rem), var(--container));
  }

  .nav-wrap {
    min-height: 76px;
  }

  .whatsapp-float {
    right: 1rem;
    left: 1rem;
    justify-content: center;
  }
}
