:root {
  --bg: #f2f2f2;
  --bg-soft: #e8f2fb;
  --text: #043259;
  --muted: #055ba6;
  --brand: #0583f2;
  --brand-2: #055ba6;
  --surface: rgba(255, 255, 255, 0.9);
  --border: rgba(4, 50, 89, 0.2);
  --shadow: 0 10px 24px rgba(4, 50, 89, 0.1);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(5, 131, 242, 0.1) 0%, transparent 44%),
    radial-gradient(circle at 88% 18%, rgba(5, 91, 166, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 48%, var(--bg) 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-shape {
  position: fixed;
  z-index: -1;
  filter: blur(90px);
  opacity: 0.24;
  pointer-events: none;
}

.bg-shape-1 {
  width: 320px;
  height: 320px;
  background: #0583f2;
  top: -90px;
  right: -70px;
  animation: drift 12s ease-in-out infinite;
}

.bg-shape-2 {
  width: 280px;
  height: 280px;
  background: #055ba6;
  bottom: -70px;
  left: -60px;
  animation: drift 15s ease-in-out infinite reverse;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(22px, -18px, 0) scale(1.12);
  }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 5vw;
  backdrop-filter: blur(8px);
  background: rgba(242, 242, 242, 0.9);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
  font-family: "Sora", sans-serif;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  line-height: 1;
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: color 0.2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--brand);
}

.menu-btn {
  display: none;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 0.45rem 0.7rem;
  border-radius: 10px;
  font-weight: 700;
}

.section {
  width: min(1120px, 92vw);
  margin: 0 auto;
  padding: 5.2rem 0;
}

.hero {
  min-height: 88vh;
  display: grid;
  align-content: center;
  gap: 1rem;
}

.kicker {
  margin: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-2);
  font-weight: 700;
  font-size: 0.8rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Sora", sans-serif;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.08;
  max-width: 13.6ch;
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.7rem);
  line-height: 1.15;
  max-width: 22ch;
}

h3 {
  font-size: 1.2rem;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.65;
}

.hero-cta {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.btn {
  text-decoration: none;
  border: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 14px;
  font-weight: 700;
  padding: 0.75rem 1.1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--brand-2);
  color: #fff;
  box-shadow: 0 8px 18px rgba(5, 91, 166, 0.24);
}

.btn-ghost {
  background: #ffffff;
  color: var(--text);
  border: 1px solid var(--border);
}

.full {
  width: 100%;
}

.stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
  max-width: 760px;
}

.stats li {
  display: grid;
  gap: 0.18rem;
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(4px);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.stats strong {
  font-family: "Sora", sans-serif;
  font-size: 1.35rem;
}

.stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.loop-strip {
  width: 100%;
  max-width: none;
  overflow: hidden;
  padding: 1.5rem 0;
}

.marquee {
  display: flex;
  gap: 1rem;
  white-space: nowrap;
  animation: scrollLeft 20s linear infinite;
  margin-bottom: 0.8rem;
}

.marquee-2 {
  animation-direction: reverse;
  animation-duration: 24s;
}

.marquee span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  background: #ffffff;
  color: var(--brand-2);
  font-weight: 600;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.6rem;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.value-card {
  border-top: 5px solid var(--brand);
}

.contact-grid {
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 0.45rem;
}

.contact-form label {
  font-weight: 700;
  margin-top: 0.35rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(4, 50, 89, 0.22);
  border-radius: 10px;
  font: inherit;
  padding: 0.7rem;
  background: rgba(242, 242, 242, 0.92);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(5, 131, 242, 0.28);
  border-color: var(--brand);
}

.form-status {
  min-height: 1.2rem;
  margin-top: 0.3rem;
  color: var(--muted);
}

.hint {
  font-size: 0.9rem;
}

.hp {
  position: absolute;
  left: -9999px;
}

.footer {
  padding: 1.5rem 5vw 2.5rem;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .grid.two,
  .grid.three,
  .stats {
    grid-template-columns: 1fr;
  }

  .main-nav {
    position: absolute;
    top: 62px;
    right: 5vw;
    display: none;
    flex-direction: column;
    border: 1px solid var(--border);
    background: rgba(242, 242, 242, 0.95);
    border-radius: 12px;
    padding: 0.75rem;
    min-width: 180px;
  }

  .main-nav.open {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero {
    min-height: 76vh;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }
}
