:root {
  --bg: #f2f4f8;
  --surface: #ffffff;
  --text: #111827;
  --muted: #4b5563;
  --primary: #006a78;
  --primary-deep: #004b55;
  --line: #d8dee8;
  --shadow: 0 24px 50px rgba(18, 42, 66, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% -10%, #d1ecff 0%, transparent 46%),
    radial-gradient(circle at 120% 30%, #bff5d6 0%, transparent 38%),
    var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-name,
.cta {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  letter-spacing: 0.01em;
}

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

.bg-orb {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
}

.orb-left {
  background: #53b9ff;
  top: -8rem;
  left: -8rem;
}

.orb-right {
  background: #5ee28f;
  right: -10rem;
  top: 25%;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
  gap: 1.4rem;
}

.main-nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--primary);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  padding: 3.5rem 0 2.5rem;
}

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

h1 {
  font-size: clamp(1.9rem, 4vw, 3.3rem);
  margin: 0;
  line-height: 1.08;
}

.lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 1.3rem 0 2rem;
  max-width: 55ch;
}

.cta {
  display: inline-block;
  background: linear-gradient(120deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 30px rgba(0, 75, 85, 0.25);
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(0, 75, 85, 0.35);
}

.cta.secondary {
  margin-top: 0.8rem;
}

.hero-card {
  background: linear-gradient(160deg, #ffffff 0%, #e8f7ff 100%);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: flex;
  justify-content: center;
}

.hero-card img {
  width: min(340px, 100%);
  object-fit: contain;
  animation: float 6s ease-in-out infinite;
}

section {
  padding: 2.4rem 0;
}

h2 {
  font-size: clamp(1.45rem, 2.6vw, 2.2rem);
  margin: 0 0 1.25rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.service-grid article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.15rem;
  box-shadow: 0 10px 30px rgba(18, 42, 66, 0.08);
}

.service-grid p,
.contact p {
  color: var(--muted);
  line-height: 1.65;
  margin: 0.7rem 0 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  margin-top: 2.3rem;
  padding: 1.2rem 0 2.2rem;
  color: var(--muted);
}

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

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 2rem;
  }

  .hero-card {
    max-width: 480px;
    margin: 0 auto;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 0.9rem;
  }

  .brand {
    flex-direction: column;
    text-align: center;
  }

  .main-nav {
    gap: 1rem;
  }
}
