:root {
  --primary: #0b5ed7;
  --primary-dark: #084298;
  --secondary: #198754;
  --accent: #20c997;
  --surface: #f4f8fc;
  --ink: #1f2a37;
  --muted: #5b6b7a;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-soft: 0 14px 35px rgba(11, 94, 215, 0.12);
  --shadow-card: 0 10px 24px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, rgba(32, 201, 151, 0.08), transparent 35%),
    radial-gradient(circle at top left, rgba(11, 94, 215, 0.08), transparent 35%),
    #ffffff;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: "Space Grotesk", sans-serif;
  color: #122033;
}

.section-pad {
  padding: 5rem 0;
}

.text-muted-custom {
  color: var(--muted);
}

.navbar {
  transition: all 0.25s ease;
  backdrop-filter: saturate(140%) blur(10px);
  background: rgba(255, 255, 255, 0.94);
}

.navbar.nav-scrolled {
  box-shadow: 0 10px 20px rgba(2, 12, 27, 0.08);
}

.navbar-brand {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.nav-link {
  font-weight: 600;
  color: #203249;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary), #2a7be8);
  color: #fff;
  border: 0;
  border-radius: 0.75rem;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-brand:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-outline-brand {
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 0.75rem;
  padding: 0.75rem 1.1rem;
  font-weight: 700;
}

.btn-outline-brand:hover {
  background: var(--primary);
  color: #fff;
}

.hero {
  padding: 7rem 0 5rem;
}

.hero-box {
  border-radius: var(--radius-xl);
  background: linear-gradient(140deg, #ffffff 0%, #eef5ff 55%, #e8fcf4 100%);
  border: 1px solid rgba(11, 94, 215, 0.12);
  box-shadow: var(--shadow-soft);
  padding: 2rem;
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  background: rgba(11, 94, 215, 0.1);
  border: 1px solid rgba(11, 94, 215, 0.2);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.metric-card,
.service-card,
.feature-card,
.testimonial-card,
.case-card,
.contact-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.metric-card {
  padding: 1rem;
  text-align: center;
}

.metric-card h3 {
  margin: 0;
  font-size: 1.7rem;
}

.metric-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.service-card,
.feature-card,
.testimonial-card,
.case-card,
.contact-card {
  padding: 1.4rem;
  height: 100%;
}

.icon-pill {
  width: 42px;
  height: 42px;
  border-radius: 0.8rem;
  display: grid;
  place-content: center;
  background: rgba(11, 94, 215, 0.12);
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 0.9rem;
}

.cta-strip {
  background: linear-gradient(140deg, #0b5ed7, #198754);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 16px 34px rgba(11, 94, 215, 0.28);
}

.cta-strip h3,
.cta-strip p {
  color: #fff;
}

.footer {
  border-top: 1px solid rgba(2, 12, 27, 0.08);
  padding: 2rem 0;
  background: #fff;
}

.floating-wa {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  background: #25d366;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.45);
  z-index: 1100;
  transition: transform 0.2s ease;
}

.floating-wa:hover {
  color: #fff;
  transform: translateY(-2px) scale(1.03);
}

.form-control,
.form-select {
  border-radius: 0.7rem;
  border: 1px solid rgba(15, 23, 42, 0.16);
  padding: 0.72rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.25rem rgba(11, 94, 215, 0.2);
}

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

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

.hero-visual {
  width: 100%;
  min-height: 300px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(11, 94, 215, 0.35);
  padding: 1.2rem;
  background: linear-gradient(145deg, #f8fbff, #eef9f4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.6rem;
}

.hero-visual .bar {
  height: 12px;
  border-radius: 999px;
  background: rgba(11, 94, 215, 0.18);
}

.hero-visual .bar:nth-child(2) {
  width: 85%;
}

.hero-visual .bar:nth-child(3) {
  width: 65%;
}

.hero-visual .bar:nth-child(4) {
  width: 90%;
}

.hero-visual .chip-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.hero-visual .chip {
  background: #fff;
  border: 1px solid rgba(11, 94, 215, 0.2);
  color: #235;
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.8rem;
  padding: 0.35rem 0.7rem;
}

.case-image {
  height: 190px;
  border-radius: 0.8rem;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.map-embed {
  width: 100%;
  min-height: 300px;
  border: 0;
  border-radius: 1rem;
}

.contact-card {
  height: auto;
}

.contact-side {
  display: grid;
  gap: 1rem;
  align-content: start;
}

#maps {
  position: relative;
  z-index: 1;
}

.maps-panel {
  border-radius: var(--radius-xl);
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 1.4rem;
}

.maps-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.maps-head .btn-outline-brand {
  white-space: nowrap;
}

@media (max-width: 992px) {
  .section-pad {
    padding: 4rem 0;
  }

  .hero {
    padding: 6.3rem 0 4rem;
  }
}

@media (max-width: 576px) {
  .hero-box,
  .cta-strip {
    padding: 1.25rem;
  }

  .maps-panel {
    padding: 1.1rem;
  }

  .btn-brand,
  .btn-outline-brand {
    width: 100%;
  }
}
