/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue:      #1F9ACF;
  --blue-dark: #1680ad;
  --navy:      #0D1E3D;
  --navy-mid:  #162d56;
  --gray:      #6B7280;
  --gray-lt:   #F1F5F9;
  --white:     #ffffff;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --shadow-card: 0 2px 16px rgba(13,30,61,.08), 0 1px 4px rgba(13,30,61,.04);
  --shadow-card-hover: 0 8px 32px rgba(31,154,207,.18), 0 2px 8px rgba(13,30,61,.08);
  --transition: 0.25s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Roboto', sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ========== NAV ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  background: rgba(13,30,61,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 72px; width: auto; filter: brightness(0) invert(1); opacity: .85;}   
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .3px;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue); }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 600 !important;
  font-size: 13px !important;
  letter-spacing: .4px;
  transition: background var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover {
  background: var(--blue-dark) !important;
  box-shadow: 0 4px 14px rgba(31,154,207,.35) !important;
  color: var(--white) !important;
}
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,.8);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 80% 40%, rgba(31,154,207,.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(31,154,207,.10) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, #0a1628 60%, #091422 100%);
  padding: 100px 32px 80px;
}

/* Grid dots overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(31,154,207,.15) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
}
.hero-logo {
  width: min(420px, 80vw);
  margin: 0 auto 36px;
  filter: brightness(0) invert(1);
}
.hero-headline {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}
.hero-headline em {
  font-style: normal;
  color: var(--blue);
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,.65);
  max-width: 560px;
  margin: 0 auto 40px;
  font-weight: 400;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== BUTTONS ========== */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background var(--transition), box-shadow var(--transition), transform var(--transition);
  letter-spacing: .3px;
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 6px 20px rgba(31,154,207,.4);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,.85);
  border: 1.5px solid rgba(255,255,255,.3);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,.7);
  color: var(--white);
  background: rgba(255,255,255,.07);
}

/* ========== SECTIONS ========== */
.section {
  padding: 96px 32px;
}
.section-alt {
  background: var(--gray-lt);
}
.container {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -.4px;
}
.section-desc {
  color: var(--gray);
  font-size: 17px;
  max-width: 560px;
  line-height: 1.7;
}

/* ========== STATS BAR ========== */
.stats-bar {
  background: var(--navy);
  padding: 48px 32px;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-size: 42px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  letter-spacing: .5px;
  font-weight: 500;
}

/* ========== HOW WE WORK ========== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2px;
  margin-top: 56px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e2e8f0;
}
.step-card {
  background: var(--white);
  padding: 40px 32px;
  position: relative;
}
.step-num {
  font-size: 56px;
  font-weight: 900;
  color: rgba(31,154,207,.10);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}
.step-icon {
  width: 44px;
  height: 44px;
  background: rgba(31,154,207,.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--blue);
}
.step-icon svg { width: 22px; height: 22px; }
.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.65;
}

/* ========== SERVICES ========== */
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  flex-wrap: wrap;
  gap: 24px;
}
.service-block { margin-bottom: 64px; }
.service-block:last-child { margin-bottom: 0; }
.service-block-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5eaf2;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--white);
  border: 1px solid #e5eaf2;
  border-radius: var(--radius-md);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  cursor: default;
}
.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(31,154,207,.3);
}
.service-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(31,154,207,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.service-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background:
    radial-gradient(ellipse 60% 80% at 90% 50%, rgba(31,154,207,.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy) 0%, #0a1628 100%);
  padding: 96px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(31,154,207,.12) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.2;
  letter-spacing: -.4px;
}
.cta-sub {
  color: rgba(255,255,255,.65);
  font-size: 17px;
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
  background: #060f1e;
  padding: 64px 32px 32px;
  color: rgba(255,255,255,.5);
}
.footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo {
  height: 132px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: .85;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  max-width: 260px;
}
.footer-heading {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 20px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
}
.footer-contact-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* ========== WHATSAPP ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all var(--transition);
  white-space: nowrap;
}
.whatsapp-btn:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.4);
}
.whatsapp-btn svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .steps-grid { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .section { padding: 64px 20px; }
  .whatsapp-btn span { display: none; }
  .whatsapp-btn { padding: 14px; border-radius: 50%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ========== ANIMATIONS ========== */
@media (prefers-reduced-motion: no-preference) {
  .fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
  }
  .fade-up.visible {
    opacity: 1;
    transform: none;
  }
}

/* ========== TEAM ========== */
.team-grid {
  margin-top: 48px;
}
.team-card {
  display: flex;
  gap: 36px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid #e5eaf2;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
  max-width: 860px;
}
.team-avatar {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
}
.team-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.team-role {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: .4px;
  margin-bottom: 14px;
}
.team-bio {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 18px;
}
.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  background: rgba(31,154,207,.1);
  color: var(--blue);
  border: 1px solid rgba(31,154,207,.2);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}

@media (max-width: 600px) {
  .team-card {
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }
}

/* ========== STACK GRID (team card) ========== */
.stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 4px;
}
.stack-group-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}
.stack-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pill {
  background: var(--gray-lt);
  color: var(--navy);
  border: 1px solid #dde3ec;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 12px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .stack-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 400px) {
  .stack-grid { grid-template-columns: 1fr; }
}

/* ========== PARTNERS ========== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 48px;
  margin-bottom: 32px;
}
.partner-card {
  border: 1.5px dashed #d0d9e8;
  border-radius: var(--radius-md);
  padding: 32px 20px 24px;
  text-align: center;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  cursor: default;
}
.partner-card:hover {
  border-color: rgba(31,154,207,.4);
  box-shadow: 0 4px 16px rgba(31,154,207,.08);
}
.partner-logo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--gray-lt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  color: #b0bbc9;
}
.partner-name {
  font-size: 13px;
  font-weight: 700;
  color: #b0bbc9;
  margin-bottom: 4px;
  letter-spacing: .3px;
}
.partner-cat {
  font-size: 11px;
  color: #c8d0da;
  font-weight: 500;
}
.partners-note {
  text-align: center;
  font-size: 13px;
  color: var(--gray);
  margin-top: 8px;
}
.partners-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
}
.partners-note a:hover { text-decoration: underline; }

@media (max-width: 480px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ========== PILL VARIANTS ========== */
.pill--highlight {
  background: rgba(13,30,61,.08);
  color: var(--navy);
  border-color: rgba(13,30,61,.2);
  font-weight: 700;
  letter-spacing: .5px;
}
.pill-inline {
  display: inline-block;
  background: rgba(13,30,61,.08);
  color: var(--navy);
  border: 1px solid rgba(13,30,61,.2);
  border-radius: 20px;
  padding: 1px 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  vertical-align: middle;
}

/* ========== NETWORK OF PROFESSIONALS ========== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.network-card {
  background: var(--white);
  border: 1px solid #e5eaf2;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.network-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-3px);
  border-color: rgba(31,154,207,.25);
}
.network-icon {
  width: 48px;
  height: 48px;
  background: rgba(31,154,207,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--blue);
}
.network-icon svg { width: 22px; height: 22px; }
.network-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}
.network-card-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

@media (max-width: 480px) {
  .network-grid { grid-template-columns: 1fr; }
}
