:root {
  --bg: #f4f8fb;
  --bg-elevated: #ffffff;
  --navy: #0a2744;
  --navy-mid: #123a5c;
  --cyan: #00b37a;
  --cyan-soft: #00e5a8;
  --cyan-deep: #00865c;
  --blue: #1a6cff;
  --text: #0a2744;
  --muted: #5b7388;
  --white: #ffffff;
  --glass: rgba(255, 255, 255, 0.82);
  --border: rgba(10, 39, 68, 0.1);
  --shadow: 0 24px 50px rgba(10, 39, 68, 0.08);
  --radius: 22px;
  --font: "Outfit", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(10, 39, 68, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 39, 68, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 20%, transparent 75%);
}

.orb {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 520px;
  height: 520px;
  background: rgba(0, 229, 168, 0.22);
  top: -160px;
  right: -80px;
}

.orb-2 {
  width: 420px;
  height: 420px;
  background: rgba(26, 108, 255, 0.12);
  bottom: 10%;
  left: -140px;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(244, 248, 251, 0.88);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 52px;
  width: auto;
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--cyan);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, #00e5a8, #00b37a);
  color: #032016;
  box-shadow: 0 10px 30px rgba(0, 229, 168, 0.28);
}

.btn-ghost {
  border-color: var(--border);
  background: var(--white);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 10px;
  padding: 8px 10px;
}

.hero {
  padding: 72px 0 40px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 18px;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 18px;
}

h1 span {
  background: linear-gradient(90deg, #00b37a, #1a6cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 28px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -40% 20%;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 229, 168, 0.22), transparent 70%);
}

.hero-logo {
  width: min(100%, 460px);
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 18px;
  position: relative;
  z-index: 1;
}

.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 48px 0 20px;
}

.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.stat b {
  display: block;
  font-size: 1.7rem;
  color: var(--cyan);
}

section {
  padding: 88px 0;
  scroll-margin-top: 90px;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  min-height: 210px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 229, 168, 0.45);
}

.icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(0, 179, 122, 0.12);
  color: var(--cyan-deep);
  margin-bottom: 16px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.wide {
  grid-column: span 2;
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px;
}

.contact-panel h2 {
  margin-bottom: 10px;
}

.meta {
  color: var(--muted);
  margin-bottom: 22px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.contact-list li {
  display: flex;
  gap: 10px;
  align-items: center;
}

form {
  display: grid;
  gap: 12px;
}

input,
textarea {
  width: 100%;
  background: #f4f8fb;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 14px;
  padding: 13px 14px;
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: #7e93a6;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

footer {
  border-top: 1px solid var(--border);
  padding: 28px 0 110px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 50;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  animation: pulse 2.4s infinite;
}

.wa-float svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 900px) {
  .hero,
  .portfolio-grid,
  .services,
  .contact-panel,
  .stats {
    grid-template-columns: 1fr;
  }

  .wide {
    grid-column: auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 18px 24px 24px;
    gap: 14px;
  }

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

  .menu-toggle {
    display: block;
  }

  .nav .btn-primary {
    display: none;
  }
}
