/* ════════════════════════════════════════════════
   First Systems – Estilos globales compartidos
   ════════════════════════════════════════════════ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background: #061a2b;
  color: #dbe7f1
}

/* ── Header ── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 48px;
  border-bottom: 1px solid #0e2d42;
  position: sticky;
  top: 0;
  background: #061a2b;
  z-index: 100
}

.header-logo img {
  height: 70px;
  width: auto
}

nav {
  display: flex;
  gap: 32px;
  margin-left: auto
}

nav a {
  color: #9fb3c8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s
}

nav a:hover,
nav a.active {
  color: #dbe7f1
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 32px
}

.btn-lang {
  background: transparent;
  border: 1px solid #1e3a4c;
  color: #9fb3c8;
  padding: 7px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit
}

.btn {
  background: #22d3ee;
  color: #061a2b;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: background .2s
}

.btn:hover {
  background: #06b6d4
}

.btn-outline {
  background: transparent;
  border: 1px solid #22d3ee;
  color: #22d3ee;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all .2s
}

.btn-outline:hover {
  background: #22d3ee;
  color: #061a2b
}

/* ── Section label ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  color: #22d3ee;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22d3ee
}

/* ── Clients ── */
#clientes {
  border-top: 1px solid #0e2d42;
  border-bottom: 1px solid #0e2d42;
  padding: 32px 48px
}

.clients-inner {
  max-width: 1200px;
  margin: 0 auto
}

.clients-label {
  font-size: 11px;
  color: #5a7b94;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-align: center;
  margin-bottom: 28px
}

.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px
}

.logos-row img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .35;
  transition: opacity .25s
}

.logos-row img:hover {
  opacity: .75
}

/* ── Regional ── */
#regional {
  background: #040f1a;
  border-top: 1px solid #0e2d42;
  border-bottom: 1px solid #0e2d42
}

.regional-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

#regional h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px
}

.map-wrap {
  position: relative;
  margin-top: 32px
}

.map-svg {
  width: 100%;
  max-width: 320px;
  opacity: .7
}

.country-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px
}

.country-tag {
  font-size: 12px;
  color: #9fb3c8;
  border: 1px solid #1e3a4c;
  border-radius: 20px;
  padding: 5px 14px;
  background: #071625
}

.country-tag.active {
  border-color: #22d3ee40;
  color: #22d3ee;
  background: #071e2e
}

.stats-side h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px
}

.stats-desc {
  color: #7fa3bc;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 40px
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px
}

.stat-box {
  background: #071625;
  border: 1px solid #0e2d42;
  border-radius: 12px;
  padding: 24px
}

.stat-box .num {
  font-size: 25px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px
}

.stat-box .lbl {
  font-size: 12px;
  color: #5a7b94;
  line-height: 1.5
}

/* ── Contact ── */
#contacto {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px
}

.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start
}

#contacto h2 {
  font-size: 38px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px
}

.contacto-left p {
  color: #7fa3bc;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 32px
}

.contact-benefits {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px
}

.contact-benefits li {
  font-size: 14px;
  color: #9fb3c8;
  display: flex;
  align-items: center;
  gap: 7px
}

.contact-benefits li::before {
  content: "✓";
  color: #22d3ee;
  font-weight: 700;
  font-size: 12px
}

.btn-cal {
  display: inline-block;
  background: #22d3ee;
  color: #061a2b;
  padding: 14px 36px;
  border-radius: 8px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s
}

.btn-cal:hover {
  background: #06b6d4
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px
}

.contact-info-block .ci-row {
  background: #071625;
  border: 1px solid #0e2d42;
  border-radius: 12px;
  padding: 20px 24px
}

.contact-info-block .ci-label {
  font-size: 10px;
  color: #5a7b94;
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: 6px
}

.contact-info-block .ci-val {
  font-size: 14px;
  color: #9fb3c8
}

/* ── Footer ── */
footer {
  border-top: 1px solid #0e2d42;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  color: #3a5a6e;
  font-size: 13px
}

footer a {
  color: #3a5a6e;
  text-decoration: none;
  transition: color .2s
}

footer a:hover {
  color: #9fb3c8
}

.footer-logo img {
  height: 28px;
  opacity: .4
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1
}

.footer-center {
  flex: 1;
  text-align: center
}

.footer-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center
}

/* ── Cal.com popup fix ── */
.cal-embed-container,
[data-cal-embed],
.cal-popup {
  overflow-y: auto !important
}

body>div[style*="position: fixed"] iframe,
body>div[style*="position:fixed"] iframe {
  max-height: 90vh !important;
  overflow-y: auto !important
}

/* ── Responsive ── */
@media(max-width:900px) {

  #hero,
  #sol-header,
  .regional-inner,
  .contacto-grid {
    grid-template-columns: 1fr
  }

  .contact-text p {
    max-width: 100%
  }

  .hero-visual {
    display: none
  }

  .sol-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  nav {
    display: none
  }

  header {
    padding: 12px 24px
  }

  #hero,
  #soluciones,
  .regional-inner,
  #contacto {
    padding-left: 24px;
    padding-right: 24px
  }

  footer {
    flex-direction: column;
    gap: 12px;
    padding: 24px
  }

  .footer-left {
    justify-content: center;
    flex: none
  }

  .footer-center {
    flex: none;
    text-align: center
  }

  .footer-right {
    flex: none;
    justify-content: center
  }

  #nosotros,
  .contacto-grid {
    grid-template-columns: 1fr
  }

  .clients-inner {
    grid-template-columns: 1fr
  }

  #nosotros,
  #clientes,
  #contacto {
    padding-left: 24px;
    padding-right: 24px
  }
}

@media(max-width:600px) {
  #hero h1 {
    font-size: 34px
  }

  .sol-grid,
  .stats-grid {
    grid-template-columns: 1fr
  }

  .form-row {
    grid-template-columns: 1fr
  }

  .hero-stats {
    flex-direction: column;
    gap: 16px
  }

  #nosotros h1 {
    font-size: 32px
  }
}
