:root{
  --navy:#0b1b3a;
  --gold:#d6b45a;
  --bg:#ffffff;
  --light-gray:#f8fafc;
  --line:#e5e7eb;
}

body{
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--navy);
  background: var(--bg);
}

.text-gold{ color: var(--gold) !important; }

.brand-logo{
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.brand-text{
  letter-spacing: .3px;
  font-weight: 900;
}

.nav-link{
  font-weight: 600;
  color: rgba(11,27,58,.76) !important;
}
.nav-link:hover{ color: var(--navy) !important; }

/* Buttons */
.btn-navy{
  background: var(--navy) !important;
  border: 1px solid var(--navy) !important;
  color: #fff !important;
  font-weight: 800 !important;
  box-shadow: 0 10px 20px rgba(11,27,58,.12);
}
.btn-navy:hover{
  background: #08142c !important;
  border-color: #08142c !important;
}
.btn-ghost{
  background: #fff !important;
  border: 1px solid var(--line) !important;
  color: var(--navy) !important;
  font-weight: 800 !important;
}
.btn-ghost:hover{
  background: var(--light-gray) !important;
  border-color: #d6dbe3 !important;
}

/* HERO con efecto espectacular */
.hero{
  position: relative;
  background-color: #ffffff;
  overflow: hidden;
  padding: 90px 0 60px;
  border-bottom: 1px solid var(--line);
}

/* Imagen ocupa mitad derecha en desktop */
.hero::before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:50%;
  height:100%;
  background-image: url('../img/hero-farmacia-agencias-vip.png');
  background-size: cover;
  background-position: center;
  mask-image: linear-gradient(to left, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to left, black 70%, transparent 100%);
  z-index: 1;
}

/* Overlay sutil para cohesión */
.hero::after{
  content:"";
  position:absolute;
  top:0; right:0;
  width:50%;
  height:100%;
  background: radial-gradient(600px 450px at 30% 30%, rgba(255,255,255,.20), transparent 60%),
              linear-gradient(180deg, rgba(11,27,58,.06), transparent);
  z-index: 1;
  pointer-events:none;
}

.hero .container{
  position: relative;
  z-index: 2;
}

.hero-title{
  letter-spacing:-.6px;
  line-height: 1.05;
}
.hero-sub{
  color: rgba(11,27,58,.72);
  max-width: 560px;
}

/* En móviles: quitamos imagen de ::before para que no estorbe */
@media (max-width: 991.98px){
  .hero{
    padding: 60px 0 40px;
  }
  .hero::before,
  .hero::after{
    width:0;
    content:none;
  }
}

/* Beneficios */
.benefit-card{
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 14px;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
  display: flex;
  gap: 12px;
  align-items: center;
  height: 100%;
}

.benefit-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--light-gray);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.benefit-icon svg{
  width: 22px; height: 22px;
  color: var(--navy);
}

.benefit-title{
  font-weight: 900;
  font-size: 1rem;
}
.benefit-sub{
  color: rgba(11,27,58,.70);
  font-weight: 600;
  font-size: .92rem;
}

/* Partners */
.partners{
  background: #fff;
}
.partners-title{
  color: rgba(11,27,58,.60);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
}

.partner-logo{
  max-width: 130px;
  max-height: 44px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .65;
  transition: .25s ease;
}
.partner-logo:hover{
  filter: grayscale(0);
  opacity: 1;
}
.partner-fallback{
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  color: rgba(11,27,58,.70);
  background:#fff;
  box-shadow: 0 8px 18px rgba(2,6,23,.05);
}

/* Secciones */
.section-title{
  letter-spacing:-.4px;
}
.section-sub{
  color: rgba(11,27,58,.72);
}

/* How cards */
.how-card{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
  padding: 22px;
  transition: transform .25s ease;
}
.how-card:hover{
  transform: translateY(-4px);
}

.how-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.how-step{
  font-weight: 900;
  color: rgba(11,27,58,.55);
}
.how-icon{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--light-gray);
  display:grid;
  place-items:center;
}
.how-icon svg{
  width: 22px; height: 22px;
  color: var(--navy);
}
.how-title{
  font-weight: 900;
  font-size: 1.15rem;
  margin: 0 0 6px;
}
.how-text{
  color: rgba(11,27,58,.72);
  margin: 0;
}

/* Soft cards */
.card-soft{
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(2,6,23,.06);
}

/* WhatsApp float */
.wa-float{
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  border-radius: 999px;
  padding: 12px 14px;
  box-shadow: 0 10px 30px rgba(2,6,23,.18);
}