:root {
  --bg: #07111f;
  --bg-elevated: #0c1728;
  --bg-soft: #111d32;
  --surface: #0f1b2f;
  --surface-2: #12233d;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8eef8;
  --muted: #9fb0c9;
  --primary: #0d6efd;
  --primary-2: #2f86ff;
  --success: #25d366;
  --warning: #ffb020;
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background:
    radial-gradient(circle at top, rgba(13, 110, 253, 0.14), transparent 32%),
    linear-gradient(180deg, #050b15 0%, #07111f 42%, #07111f 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

.container {
  position: relative;
}

.top-strip {
  background: rgba(5, 11, 21, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: var(--muted);
}

.top-strip a {
  color: var(--text);
}

.top-strip .contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.navbar {
  background: rgba(8, 15, 28, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.navbar .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.22);
  object-fit: cover;
  background: #0b1728;
}

.navbar .nav-link {
  color: rgba(232, 238, 248, 0.88);
  font-weight: 500;
  padding: 0.9rem 1rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active {
  color: #fff;
}

.navbar .dropdown-menu {
  background: #0c1728;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
  border-radius: 14px;
  overflow: hidden;
}

.dropdown-item {
  color: var(--text);
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: rgba(13, 110, 253, 0.14);
  color: #fff;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.16);
}

.navbar-toggler-icon {
  filter: invert(1);
}

.btn {
  border-radius: 999px;
  font-weight: 600;
  padding: 0.78rem 1.25rem;
}

.btn-primary {
  background: linear-gradient(180deg, var(--primary-2), var(--primary));
  border: 0;
  box-shadow: 0 10px 24px rgba(13, 110, 253, 0.26);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(180deg, #3d93ff, #0b5ed7);
}

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.18);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(13, 110, 253, 0.3);
  background: rgba(13, 110, 253, 0.08);
  color: #cfe2ff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 0.5rem 0 5.5rem;
  background:
    linear-gradient(135deg, rgba(6, 13, 24, 0.96), rgba(9, 18, 34, 0.86)),
    radial-gradient(
      circle at 20% 20%,
      rgba(13, 110, 253, 0.28),
      transparent 32%
    ),
    radial-gradient(circle at 80% 0%, rgba(13, 110, 253, 0.18), transparent 25%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(transparent 96%, rgba(255, 255, 255, 0.03) 96%),
    linear-gradient(90deg, transparent 96%, rgba(255, 255, 255, 0.03) 96%);
  background-size: 32px 32px;
  opacity: 0.22;
  pointer-events: none;
}

.hero h1,
.hero h2 {
  font-weight: 600;
  letter-spacing: -0.03em;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw, 4.8rem);
  line-height: 1.03;
}

.hero .lead {
  color: rgba(232, 238, 248, 0.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 58rem;
}

.hero-card {
  background: rgba(9, 18, 34, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card,
.feature-card,
.product-card,
.project-card,
.testimonial-card,
.faq-card,
.contact-card,
.soft-card {
  background: linear-gradient(
    180deg,
    rgba(18, 35, 61, 0.95),
    rgba(12, 23, 40, 0.98)
  );
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 1rem;
}

.stat-card strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1.1;
}

.stat-card span,
.small-muted {
  color: var(--muted);
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.section-heading p {
  color: var(--muted);
  margin-bottom: 0;
}

.feature-card,
.product-card,
.project-card,
.testimonial-card,
.faq-card,
.contact-card,
.soft-card {
  padding: 1.4rem;
  height: 100%;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 110, 253, 0.14);
  color: #b9d6ff;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-card h3,
.product-card h3,
.project-card h3,
.testimonial-card h3,
.faq-card h3,
.contact-card h3,
.soft-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p,
.product-card p,
.project-card p,
.testimonial-card p,
.faq-card p,
.contact-card p,
.soft-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.card-list li {
  display: flex;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.card-list i {
  color: #8dc1ff;
  margin-top: 0.2rem;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: #dfe8f6;
  padding: 0.4rem 0.75rem;
  font-size: 0.86rem;
}

.media-frame {
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--border);
  background: linear-gradient(
    135deg,
    rgba(13, 110, 253, 0.14),
    rgba(255, 255, 255, 0.02)
  );
  box-shadow: var(--shadow);
}

.media-frame .placeholder {
  min-height: 320px;
  display: grid;
  place-items: center;
  padding: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at top, rgba(13, 110, 253, 0.2), transparent 42%),
    linear-gradient(180deg, #0a1322, #111f35);
}

.media-frame .placeholder i {
  font-size: 4rem;
  color: #8dc1ff;
  margin-bottom: 1rem;
}

.product-card:hover,
.feature-card:hover,
.project-card:hover,
.testimonial-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  transition: transform 180ms ease;
}

.product-grid,
.project-grid,
.testimonial-grid {
  display: grid;
  gap: 1.25rem;
}

.product-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.product-grid > * {
  grid-column: span 4;
}

.project-grid > * {
  grid-column: span 6;
}

.testimonial-grid > * {
  grid-column: span 4;
}

.timeline {
  position: relative;
  padding-left: 1.25rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.35rem;
  bottom: 0.35rem;
  width: 2px;
  background: rgba(13, 110, 253, 0.35);
}

.timeline-item {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 1.2rem;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -0.06rem;
  top: 0.38rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #0d6efd;
  box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.18);
}

.faq-item + .faq-item {
  margin-top: 0.9rem;
}

.accordion,
.accordion-item,
.accordion-button,
.accordion-body {
  border-radius: 14px !important;
}

.accordion-item {
  background: #0d1729;
  border: 1px solid var(--border);
  overflow: hidden;
}

.accordion-button {
  background: #0d1729;
  color: #fff;
  font-weight: 600;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  color: #fff;
  background: #11223c;
}

.accordion-button::after {
  filter: invert(1);
}

.accordion-body {
  color: var(--muted);
  background: #0d1729;
}

.form-control,
.form-select,
textarea {
  background-color: #091424;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-radius: 14px;
  padding: 0.92rem 1rem;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
  background-color: #091424;
  color: var(--text);
  border-color: rgba(13, 110, 253, 0.8);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.form-control::placeholder,
textarea::placeholder {
  color: #8a9ab0;
}

.map-frame {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.footer {
  background: #050b15;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  padding: 3rem 0 6.5rem;
}

.footer h3,
.footer h4 {
  color: #fff;
}

.footer a {
  color: #dbe7f6;
}

.footer a:hover {
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li + li {
  margin-top: 0.6rem;
}

.whatsapp-float,
.call-float,
.mobile-cta-bar {
  position: fixed;
  z-index: 1050;
}

.whatsapp-float,
.call-float {
  right: 1rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.whatsapp-float {
  bottom: 1rem;
  background: linear-gradient(180deg, #2adb6b, var(--success));
}

.call-float {
  bottom: 4.9rem;
  background: linear-gradient(180deg, #3d93ff, var(--primary));
}

.mobile-cta-bar {
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  display: none;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 18px;
  background: rgba(7, 17, 31, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.mobile-cta-bar a {
  flex: 1;
  text-align: center;
  border-radius: 14px;
  padding: 0.8rem 0.9rem;
  font-weight: 700;
}

.page-banner {
  padding: 4.5rem 0;
  background:
    linear-gradient(135deg, rgba(8, 15, 28, 0.95), rgba(10, 18, 32, 0.88)),
    radial-gradient(
      circle at top left,
      rgba(13, 110, 253, 0.2),
      transparent 35%
    );
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

.page-banner p {
  color: var(--muted);
  max-width: 50rem;
}

@media (max-width: 991.98px) {
  .navbar .nav-link {
    padding: 0.75rem 0 !important;
  }

  .hero {
    padding: 5.5rem 0 4.5rem;
  }

  .section {
    padding: 4.25rem 0;
  }

  .product-grid > *,
  .project-grid > *,
  .testimonial-grid > * {
    grid-column: span 12;
  }
}

@media (max-width: 767.98px) {
  .top-strip .container {
    gap: 0.6rem;
    flex-direction: column;
    align-items: flex-start !important;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-float,
  .call-float {
    display: none;
  }

  .mobile-cta-bar {
    display: flex;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero h1 {
    letter-spacing: -0.02em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
