:root {
  --bf-navy: #0b1220;
  --bf-ink: #142033;
  --bf-blue: #2563eb;
  --bf-cyan: #06b6d4;
  --bf-green: #22c55e;
  --bf-soft: #f5f7fb;
  --bf-muted: #64748b;
  --bf-border: #dbe3ef;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: var(--bf-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

a {
  color: var(--bf-blue);
}

.navbar {
  background: rgba(11, 18, 32, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(2, 6, 23, 0.18);
  min-height: 74px;
}

.navbar-brand {
  align-items: center;
  display: inline-flex;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
}

.site-footer .brand-logo {
  height: 44px;
  margin-bottom: 0.85rem;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--bf-blue), var(--bf-cyan));
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  margin-right: 0.55rem;
  width: 42px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
}

.btn {
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.2;
  padding: 0.78rem 1.1rem;
}

.btn-primary {
  background: var(--bf-blue);
  border-color: var(--bf-blue);
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
}

.btn-outline-light:hover {
  color: var(--bf-navy);
}

.hero {
  background:
    radial-gradient(circle at 78% 20%, rgba(37, 99, 235, 0.44), transparent 30%),
    linear-gradient(90deg, rgba(8, 13, 24, 0.97), rgba(8, 13, 24, 0.84), rgba(8, 13, 24, 0.56)),
    url("../images/hero-software-team.jpg") center / cover;
  color: #fff;
  min-height: 760px;
  overflow: hidden;
  padding: 9.5rem 0 5.25rem;
  position: relative;
}

.hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 48px 48px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(90deg, #000, transparent 76%);
  opacity: 0.5;
  position: absolute;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero {
  background:
    radial-gradient(circle at 78% 24%, rgba(6, 182, 212, 0.32), transparent 30%),
    linear-gradient(90deg, rgba(11, 18, 32, 0.96), rgba(11, 18, 32, 0.75)),
    url("../images/hero-software-team.jpg") center / cover;
  color: #fff;
  overflow: hidden;
  padding: 8.75rem 0 4.75rem;
  position: relative;
}

.page-hero::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  content: "";
  inset: 0;
  opacity: 0.36;
  position: absolute;
}

.hero-kicker {
  color: #93c5fd;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  max-width: 100%;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.35rem, 5.4vw, 5rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.03;
  margin-bottom: 1.4rem;
  max-width: 960px;
  text-wrap: balance;
}

.hero-copy {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.16rem;
  max-width: 700px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-insight {
  background: rgba(8, 13, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.35);
  display: grid;
  gap: 0.8rem;
  margin-top: 2.4rem;
  max-width: 600px;
  padding: 1rem;
}

.hero-insight-row {
  align-items: center;
  display: flex;
  gap: 0.8rem;
}

.hero-insight-row i {
  align-items: center;
  background: rgba(37, 99, 235, 0.2);
  border-radius: 8px;
  color: #93c5fd;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.hero-insight-row strong {
  display: block;
  font-size: 0.95rem;
}

.hero-insight-row span {
  color: rgba(255, 255, 255, 0.7);
  display: block;
  font-size: 0.86rem;
}

.metric-strip {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3rem;
  max-width: 840px;
  padding-top: 1.6rem;
}

.metric strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.metric span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.section {
  padding: 5.5rem 0;
}

.section-soft {
  background: var(--bf-soft);
}

.section-dark {
  background: var(--bf-navy);
  color: #fff;
}

.section-eyebrow {
  color: var(--bf-blue);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.08;
  text-wrap: balance;
}

.section-lead {
  color: var(--bf-muted);
  font-size: 1.05rem;
  max-width: 720px;
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.72);
}

.service-card,
.project-card,
.value-panel,
.process-step {
  background: #fff;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
}

.service-card {
  border-top: 3px solid rgba(37, 99, 235, 0.82);
  padding: 1.6rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.icon-box {
  align-items: center;
  background: #eaf1ff;
  border-radius: 8px;
  color: var(--bf-blue);
  display: inline-flex;
  font-size: 1.35rem;
  height: 48px;
  justify-content: center;
  margin-bottom: 1.2rem;
  width: 48px;
}

.service-card h3,
.process-step h3,
.project-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
}

.muted {
  color: var(--bf-muted);
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
}

.feature-list li {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.feature-list i {
  color: var(--bf-green);
  margin-top: 0.18rem;
}

.image-panel {
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.08), rgba(6, 182, 212, 0.08)),
    url("../images/team-planning.jpg") center / cover;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
  min-height: 440px;
}

.project-card {
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.1);
  transform: translateY(-4px);
}

.project-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.project-card-body {
  padding: 1.25rem;
}

.tag {
  background: #eef6ff;
  border-radius: 999px;
  color: #075985;
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  margin-bottom: 0.7rem;
  padding: 0.28rem 0.7rem;
}

.trust-card,
.service-detail-card,
.faq-card,
.quote-summary,
.reference-metric,
.official-card,
.integration-card,
.success-panel {
  background: #fff;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
}

.trust-card,
.service-detail-card,
.faq-card,
.quote-summary,
.official-card,
.integration-card,
.success-panel {
  height: 100%;
  padding: 1.5rem;
}

.trust-card h3,
.service-detail-card h2,
.faq-card h2 {
  font-size: 1.12rem;
  font-weight: 850;
}

.trust-card i,
.service-detail-card > i {
  color: var(--bf-blue);
  font-size: 1.55rem;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.tech-stack span {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #334155;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.32rem 0.7rem;
}

.reference-meta {
  border-top: 1px solid var(--bf-border);
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
  padding-top: 1rem;
}

.reference-meta strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reference-metrics {
  display: grid;
  gap: 0.7rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.reference-metric {
  padding: 0.8rem;
}

.reference-metric strong {
  color: var(--bf-blue);
  display: block;
  font-size: 1.25rem;
  line-height: 1;
}

.reference-metric span {
  color: var(--bf-muted);
  font-size: 0.82rem;
}

.cta-band {
  background:
    linear-gradient(90deg, rgba(30, 64, 175, 0.98), rgba(14, 116, 144, 0.95)),
    url("../images/cta-workspace.jpg") center / cover;
  color: #fff;
  padding: 4rem 0;
}

.footer {
  background: #080d18;
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
}

.footer h2,
.footer h3 {
  color: #fff;
}

.footer a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.footer ul {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.1rem;
}

.footer-social a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.footer-social a:hover {
  background: var(--bf-blue);
  border-color: var(--bf-blue);
}

.contact-panel,
.value-panel,
.process-step {
  padding: 1.5rem;
}

.contact-panel {
  background: #fff;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.045);
}

.corporate-info {
  border-top: 1px solid var(--bf-border);
  display: grid;
  gap: 0.85rem;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

.corporate-info-item {
  align-items: flex-start;
  display: flex;
  gap: 0.75rem;
}

.corporate-info-item i {
  color: var(--bf-blue);
  margin-top: 0.18rem;
}

.corporate-info-heading {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.verified-badge {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.32);
  border-radius: 999px;
  color: #15803d;
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 850;
  padding: 0.25rem 0.55rem;
}

.form-control,
.form-select {
  border-color: var(--bf-border);
  border-radius: 8px;
  padding: 0.8rem 0.9rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--bf-blue);
  box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.16);
}

.map-placeholder {
  align-items: center;
  background:
    linear-gradient(rgba(11, 18, 32, 0.18), rgba(11, 18, 32, 0.18)),
    url("../images/map-placeholder.jpg") center / cover;
  border-radius: 8px;
  color: #fff;
  display: flex;
  min-height: 300px;
  padding: 1.5rem;
}

.legal-content {
  color: var(--bf-ink);
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 850;
  margin: 2.1rem 0 0.8rem;
}

.legal-content h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 1.4rem 0 0.55rem;
}

.legal-content p,
.legal-content li {
  color: var(--bf-muted);
}

.legal-content ul {
  margin-bottom: 0;
  padding-left: 1.2rem;
}

.legal-note {
  background: #eef6ff;
  border: 1px solid #cfe2ff;
  border-radius: 8px;
  color: #1e3a8a;
  padding: 1rem;
}

.form-check-input:checked {
  background-color: var(--bf-blue);
  border-color: var(--bf-blue);
}

.official-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.official-list div {
  border-top: 1px solid var(--bf-border);
  padding-top: 0.9rem;
}

.official-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.official-list span {
  color: var(--bf-muted);
  display: block;
}

.integration-card i {
  color: var(--bf-blue);
  font-size: 1.45rem;
}

.success-panel {
  background: #f8fafc;
  border-color: #cfe2ff;
}

.modal-content {
  border: 0;
  border-radius: 12px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.24);
}

.modal .success-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  height: auto;
  padding: 1rem 0.25rem 0.5rem;
}

.whatsapp-float {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 20px;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.2);
  color: #fff;
  display: inline-flex;
  font-weight: 800;
  gap: 0.4rem;
  min-height: 50px;
  padding: 0.62rem 0.88rem;
  position: fixed;
  right: 20px;
  text-decoration: none;
  z-index: 20;
}

.whatsapp-float:hover {
  color: #fff;
  transform: translateY(-2px);
}

.app-page-hero {
  background:
    radial-gradient(circle at 80% 18%, rgba(34, 197, 94, 0.2), transparent 28%),
    radial-gradient(circle at 18% 78%, rgba(6, 182, 212, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(11, 18, 32, 0.98), rgba(11, 18, 32, 0.8)),
    url("../images/hero-software-team.jpg") center / cover;
}

.app-page-hero .col-lg-7,
.app-page-hero .col-lg-5 {
  min-width: 0;
}

.app-showcase {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.32);
  color: var(--bf-ink);
  display: grid;
  gap: 1.25rem;
  margin-left: auto;
  max-width: 430px;
  padding: 1.35rem;
  width: 100%;
}

.app-icon {
  align-items: center;
  background: linear-gradient(135deg, var(--bf-blue), var(--bf-cyan));
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(37, 99, 235, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 2.1rem;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.app-showcase h2 {
  font-size: 2rem;
  font-weight: 850;
  margin: 0.65rem 0 0.35rem;
}

.app-showcase p {
  color: var(--bf-muted);
  margin-bottom: 0;
}

.app-badge {
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  color: #075985;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.32rem 0.68rem;
}

.app-metrics {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, 1fr);
}

.app-metrics div {
  background: #f8fafc;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  padding: 0.78rem;
}

.app-metrics strong,
.app-metrics span {
  display: block;
}

.app-metrics strong {
  color: var(--bf-navy);
  font-size: 0.92rem;
}

.app-metrics span {
  color: var(--bf-muted);
  font-size: 0.78rem;
}

.app-feature-card,
.app-safety-panel {
  background: #fff;
  border: 1px solid var(--bf-border);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(15, 23, 42, 0.07);
}

.app-feature-card {
  height: 100%;
  padding: 1.35rem;
}

.app-feature-card i {
  align-items: center;
  background: #eff6ff;
  border-radius: 8px;
  color: var(--bf-blue);
  display: inline-flex;
  font-size: 1.35rem;
  height: 46px;
  justify-content: center;
  margin-bottom: 1rem;
  width: 46px;
}

.app-feature-card h3,
.app-safety-panel h3 {
  font-size: 1.08rem;
  font-weight: 800;
}

.app-feature-card p {
  color: var(--bf-muted);
  margin-bottom: 0;
}

.app-safety-panel {
  padding: 1.45rem;
}

.app-legal-links {
  display: grid;
  gap: 0.85rem;
}

.app-legal-links a {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 800;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  text-decoration: none;
}

.app-legal-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 7.5rem 0 4rem;
  }

  .metric-strip {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .whatsapp-float {
    bottom: 16px;
    font-size: 0;
    height: 52px;
    justify-content: center;
    min-height: 52px;
    padding: 0;
    right: 16px;
    width: 52px;
  }

  .whatsapp-float i {
    font-size: 1.38rem;
  }

  .app-showcase {
    margin-left: 0;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding-bottom: 3.25rem;
  }

  .hero-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: 2.08rem;
    line-height: 1.08;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .hero-insight {
    display: none;
  }

  .section-title {
    font-size: 1.86rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .app-metrics {
    grid-template-columns: 1fr;
  }

  .app-page-hero .hero-title {
    font-size: 1.86rem;
    overflow-wrap: break-word;
  }

  .app-page-hero .hero-copy,
  .app-showcase p {
    overflow-wrap: break-word;
  }

  .whatsapp-float {
    bottom: 14px;
    height: 50px;
    min-height: 50px;
    right: 14px;
    width: 50px;
  }
}
