/* =========================
   QUIÉNES SOMOS – CSS NUEVO (UX/UI)
   ========================= */

:root{
  --bg: #ffffff;
  --muted: #f6f8fa;
  --text: #1f2937;
  --soft: #6b7280;
  --brand: #46B6FC;
  --brand-2: #3a9fd9;
  --border: rgba(17,24,39,.12);
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: Poppins, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

img{ max-width: 100%; display:block; }

.container{
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand img{ height:auto; }

.nav{
  display:flex;
  align-items:center;
  gap: 14px;
}

.nav__link{
  color: var(--text);
  text-decoration:none;
  font-weight: 500;
  font-size: 14px;
  padding: 10px 10px;
  border-radius: 10px;
}

.nav__link:hover{
  background: rgba(70,182,252,.10);
}

.nav__link.is-active{
  background: rgba(70,182,252,.14);
}

.nav__cta{
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
}
.nav__cta:hover{ background: var(--brand-2); }

.nav__dropdown{ position: relative; }
.nav__dropbtn{
  background: transparent;
  border: 0;
  cursor: pointer;
  display:flex;
  align-items:center;
  gap: 8px;
}

.nav__menu{
  position:absolute;
  top: 44px;
  right: 0;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  display:none;
}

.nav__menu a{
  display:block;
  padding: 10px 10px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
}
.nav__menu a:hover{ background: rgba(17,24,39,.06); }

.nav__dropdown.is-open .nav__menu{ display:block; }

/* Mobile nav */
.nav-toggle{
  display:none;
  background: transparent;
  border:0;
  cursor:pointer;
  padding: 10px;
  border-radius: 12px;
}
.nav-toggle:hover{ background: rgba(17,24,39,.06); }
.nav-toggle__bar{
  display:block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
}

@media (max-width: 980px){
  .nav-toggle{ display:block; }
  .nav{
    position: fixed;
    top: 64px;
    left: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 12px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .nav.is-open{ display:flex; }
  .nav__menu{
    position: static;
    display: block;
    box-shadow: none;
    border: 0;
    padding: 6px 0 0;
  }
}

/* Hero */
.hero{
  padding: 44px 0 18px;
  background: radial-gradient(1200px 500px at 50% -10%, rgba(70,182,252,.18), rgba(255,255,255,0));
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 26px;
  align-items: center;
}

.eyebrow{
  color: var(--soft);
  font-size: 13px;
  margin: 0 0 10px;
}

.hero h1{
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.08;
  margin: 0 0 14px;
}

.lead{
  font-size: 16px;
  line-height: 1.8;
  color: #374151;
  margin: 0 0 18px;
}

.hero-media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 18px 0 14px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration:none;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover{ background: var(--brand-2); }

.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover{ background: rgba(17,24,39,.06); }

.trust-row{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.trust-item{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  min-width: 160px;
}
.trust-item strong{ display:block; font-size: 14px; }
.trust-item span{ display:block; font-size: 12px; color: var(--soft); }

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .hero-media{ order: -1; }
}

/* Sections */
.section{
  padding: 56px 0;
}

.section-muted{
  background: var(--muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section h2{
  font-size: clamp(22px, 2.2vw, 34px);
  margin: 0 0 12px;
  line-height: 1.2;
}

.sublead{
  color: var(--soft);
  margin: 0 0 22px;
  line-height: 1.7;
}

.split{
  display:grid;
  grid-template-columns: 1fr 0.95fr;
  gap: 22px;
  align-items: start;
}

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

.card{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.card h3{
  margin: 0 0 10px;
  font-size: 16px;
}

.checklist{
  margin: 0;
  padding-left: 18px;
  color: #374151;
  line-height: 1.8;
}

.note{
  margin-top: 18px;
  color: #374151;
  line-height: 1.8;
}

/* Services grid */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

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

.service{
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.service h3{ margin: 0 0 8px; font-size: 16px; }
.service p{ margin: 0 0 10px; color: #374151; line-height: 1.7; }
.service a{ color: var(--brand-2); text-decoration: none; font-weight: 600; }
.service a:hover{ text-decoration: underline; }

/* Steps */
.steps{
  margin: 10px 0 0;
  padding-left: 18px;
  line-height: 1.8;
  color: #374151;
}

.media img{
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* CTA */
.cta{
  padding: 44px 0;
}
.cta-inner{
  background: linear-gradient(135deg, rgba(70,182,252,.18), rgba(255,255,255,.0));
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 6px);
  padding: 18px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.cta-actions{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Footer */
.site-footer{
  border-top: 1px solid var(--border);
  padding: 26px 0;
  background: #fff;
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 16px;
  align-items: start;
}

.footer-inner a{
  color: var(--brand-2);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  display:block;
  margin: 8px 0;
}
.footer-inner a:hover{ text-decoration: underline; }

.footer-inner p{
  margin: 8px 0 0;
  color: var(--soft);
  font-size: 14px;
}

@media (max-width: 980px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* WhatsApp float */
.wa-float{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  border-radius: 999px;
}
.wa-float img{
  width: 64px;
  height: 64px;
}