/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 14px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform .08s ease, background .15s ease, border-color .15s ease;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
}

.btn:active{ transform: translateY(1px); }

.btn-primary{
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(47,111,237,0.25);
}

.btn-primary:hover{ background: var(--primary-2); }

.btn-outline{
  background: rgba(255,255,255,0.85);
  border-color: rgba(47,111,237,0.20);
  color: var(--text);
}

.btn-outline:hover{
  border-color: rgba(47,111,237,0.35);
  background: #fff;
}

.btn-ghost{
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}

.btn-ghost:hover{
  background: rgba(255,255,255,0.12);
}

.btn-small{
  padding: 9px 12px;
  border-radius: 12px;
}

/* Language switch */
.lang-switch{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.85);
  border-radius: 999px;
}

.lang-label{
  font-size: 12px;
  color: rgba(15,27,45,0.70);
}

.lang-pill{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  color: rgba(15,27,45,0.80);
  background: rgba(47,111,237,0.08);
}

.lang-pill.active{
  color: #fff;
  background: var(--primary);
}

/* Cards */
.card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.image-card{
  padding: 14px;
}

.image-placeholder{
  height: 320px;
  border-radius: 18px;
  background:
    radial-gradient(1200px 500px at 20% 20%, rgba(26,167,255,0.18), transparent 55%),
    radial-gradient(900px 450px at 85% 35%, rgba(47,111,237,0.16), transparent 60%),
    linear-gradient(180deg, rgba(15,27,45,0.05), rgba(15,27,45,0.02));
  border: 1px dashed rgba(47,111,237,0.28);
}

.content h2{
  font-size: 34px;
}

.content p{
  font-size: 15px;
}

.text-link{
  font-weight: 800;
  color: var(--primary);
}

.text-link:hover{
  text-decoration: underline;
}

/* Hero */
.hero{
  position: relative;
  padding: 96px 0 64px 0;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,0.92) 0%,
      rgba(255,255,255,0.70) 35%,
      rgba(255,255,255,0.20) 60%,
      rgba(255,255,255,0.05) 100%
    ),
    url("/assets/images/hero/hero-telehealth-home.jpg") center right / cover no-repeat;
  overflow: hidden;
}

.hero-overlay{
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.35), rgba(255,255,255,0.00));
  opacity: 0.9;
}

.hero-content{
  position: relative;
  z-index: 1;
}

.hero h1{
  font-size: 46px;
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero .lead{
  color: rgba(15,27,45,0.72);
  margin-bottom: 18px;
}

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

.hero-curve{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  background: #fff;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

/* Services cards */
.svc-card{
  padding: 16px;
}

.svc-photo{
  height: 150px;
  border-radius: 16px;
  margin-bottom: 12px;
  background:
    radial-gradient(700px 260px at 25% 25%, rgba(26,167,255,0.22), transparent 65%),
    linear-gradient(180deg, rgba(15,27,45,0.05), rgba(15,27,45,0.02));
  border: 1px solid rgba(47,111,237,0.12);
}

.svc-card h3{
  font-size: 18px;
}

.svc-card p{
  font-size: 14px;
}

/* Steps */
.step-card{
  padding: 18px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.30);
}

.step-card h3{ margin-bottom: 8px; }

/* Curves */
.section-curve{
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 26px;
  background: var(--bg);
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
}

/* Checklist */
.checklist{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.checklist li{
  position: relative;
  padding-left: 28px;
  color: rgba(15,27,45,0.78);
}

.checklist li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(47,111,237,0.12);
  color: var(--primary);
  font-weight: 900;
}

/* CTA Band */
.cta-band{
  background: linear-gradient(180deg, #1b4fc8, #2f6fed);
  padding: 46px 0;
}

.cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.cta-band h2{
  color: #fff;
  margin-bottom: 8px;
  font-size: 28px;
}

.cta-band p{
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 60ch;
}

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

/* Legal note */
.legal-note{
  padding: 22px 0 56px 0;
}

.legal-note p{
  font-size: 12px;
  color: rgba(15,27,45,0.60);
  margin: 0;
}

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

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

.footer-brand{
  display: grid;
  gap: 2px;
}

.footer-brand strong{
  font-weight: 900;
}

.footer-brand span{
  font-size: 12px;
  color: rgba(15,27,45,0.65);
}

.footer-contact,
.footer-links{
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  font-size: 13px;
  color: rgba(15,27,45,0.72);
}

.footer-contact a:hover,
.footer-links a:hover{
  color: var(--primary);
  text-decoration: underline;
}

@media (max-width: 980px){
  .cta-inner{ flex-direction: column; align-items: flex-start; }
  .footer-inner{ grid-template-columns: 1fr; }
  .footer-contact, .footer-links{ justify-content: flex-start; }
  .hero h1{ font-size: 38px; }
}

/* ===============================
   CTA BAND (Pro, no inline styles)
   =============================== */

.cta-band .cta-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.cta-band .cta-text{
  max-width: 640px;
}

.cta-band .cta-meta{
  margin-top: 12px;
  margin-bottom: 0;
  color: rgba(255,255,255,0.86);
  font-size: 0.98rem;
}

.cta-band .cta-meta a{
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta-band .cta-dot{
  display: inline-block;
  opacity: 0.85;
  margin: 0 10px;
}

.cta-band .cta-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .cta-qr{
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-left: 8px;
}

.cta-band .cta-qr img{
  max-width: 160px;
  height: auto;          /* 🔑 mantiene proporción real */
  border-radius: 18px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
}

.cta-band .cta-qr-caption{
  color: rgba(255,255,255,0.88);
  font-size: 0.92rem;
}

/* Responsive: stack nicely on mobile */
@media (max-width: 860px){
  .cta-band .cta-inner{
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .cta-actions{
    width: 100%;
    justify-content: flex-start;
  }

  .cta-band .cta-qr{
    margin-left: 0;
  }
}
