:root {
  --brand-blue: #0f6fff;
  --brand-blue-dark: #0b4fbb;
  --text-dark: #111111;
  --text-muted: #5f6874;
  --bg: #f7f8fc;
  --surface: #ffffff;
  --border: #e9edf3;
  --shadow: 0 20px 45px rgba(15, 111, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

section {
  position: relative;
}

.navbar {
  padding: 1rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}

.navbar-brand img {
  width: 140px;
  height: auto;
}

.nav-link {
  color: var(--text-dark);
  font-weight: 500;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--brand-blue);
}

.hero-section {
  padding-top: 7rem;
  background: radial-gradient(circle at top left, rgba(15, 111, 255, 0.12), transparent 40%), var(--bg);
  min-height: 100vh;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--brand-blue);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--text-muted) !important;
}

.hero-illustration {
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.feature-card,
.service-card,
.timeline-card,
.map-card,
.cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.service-card,
.timeline-card,
.feature-card {
  padding: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover,
.timeline-card:hover,
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 50px rgba(15, 111, 255, 0.1);
}

.icon-badge,
.service-icon {
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(15, 111, 255, 0.1);
  color: var(--brand-blue);
  font-size: 1.3rem;
}

.section-alt {
  background: #f2f4f9;
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(17, 17, 17, 0.04);
}

.cta-card {
  background: linear-gradient(135deg, rgba(15, 111, 255, 0.95), rgba(11, 79, 187, 0.95));
  color: white;
}

.cta-card .text-muted {
  color: rgba(255, 255, 255, 0.8) !important;
}

.contact-list {
  display: grid;
  gap: 0.8rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text-dark);
}

.contact-item i {
  color: var(--brand-blue);
}

.footer {
  background: #0d1322;
  color: #f2f4f9;
}

.footer-links a {
  color: #dbe3ef;
  text-decoration: none;
}

.footer-links a:hover {
  color: white;
}

.whatsapp-btn,
.back-to-top {
  position: fixed;
  right: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border: 0;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  box-shadow: 0 16px 35px rgba(15, 111, 255, 0.25);
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-btn {
  bottom: 5.2rem;
}

.back-to-top {
  bottom: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: all 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-blue-dark));
  border: 0;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--brand-blue-dark), var(--brand-blue));
}

.btn-outline-primary {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}

.btn-outline-primary:hover {
  background: var(--brand-blue);
  color: white;
}

@media (max-width: 991px) {
  .hero-section {
    padding-top: 6rem;
  }

  .navbar-nav {
    padding-top: 1rem;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: auto;
  }

  .service-card,
  .timeline-card,
  .feature-card {
    padding: 1.4rem;
  }

  .whatsapp-btn,
  .back-to-top {
    width: 2.8rem;
    height: 2.8rem;
  }
}
