.hero-text {
  color: var(--color-gray);
  max-width: 640px;
}

/* ===============================
   SECCIÓN SMS: CASOS DE USO
   =============================== */

.sms-casos-uso{
  background-color: #fff;
}

/* Layout */
.sms-casos-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .sms-casos-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}



/* Tabs */
.sms-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.sms-tab {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #e6e6f0;
  background: #fff;
  text-align: left;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  

}

.sms-tab:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
}

.sms-tab strong {
  display: block;
  font-size: 14px;
}

.sms-tab span {
  font-size: 13px;
  color: var(--color-gray);
}

/* Active tab (como WhatsApp tipos-mensajes) */
.sms-tab.is-active{
  border-color: rgba(0, 163, 255, 0.4);
    box-shadow: 0 16px 40px rgba(0, 98, 255, 0.18);
    background: radial-gradient(circle at 0% 0%, rgba(255, 84, 161, 0.06), transparent 55%), radial-gradient(circle at 100% 100%, rgba(0, 163, 255, 0.08), transparent 60%);
}



/* Iconos */
.sms-tab-ico {
      width: 52px;
    height: 52px;
    min-width: 52px;
    min-height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px !important;
}

/* Colores iconos */
.sms-tab-ico.is-red { background: radial-gradient(circle at 20% 20%, rgba(255, 204, 128, 0.45), transparent 55%), radial-gradient(circle at 80% 80%, rgba(255, 64, 129, 0.45), transparent 55%);
    color: #e1306c; }
.sms-tab-ico.is-blue { background: radial-gradient(circle at 20% 20%, rgba(0, 163, 255, 0.18), transparent 55%), radial-gradient(circle at 80% 80%, rgba(6, 111, 249, 0.32), transparent 55%);
    color: #1877f2; }
.sms-tab-ico.is-orange {     background: radial-gradient(circle at 20% 20%, rgba(255, 153, 0, 0.25), transparent 55%), radial-gradient(circle at 80% 80%, rgba(230, 120, 0, 0.25), transparent 55%);
    color: #ff9900;}
.sms-tab-ico.is-green {     background: radial-gradient(circle at 20% 20%, rgba(37, 211, 102, 0.25), transparent 55%), radial-gradient(circle at 80% 80%, rgba(16, 183, 89, 0.25), transparent 55%);
    color: #25D366;}

/* Phone */
.sms-phone {
    width: 100%;
    max-width: 300px;
    height: 580px;
    background: #ffffff;
    border-radius: 36px;
    padding: 16px 8px 18px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
    border: 5px solid #1E1E1E;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

/* Header */
.sms-phone-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.sms-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.sms-channel {
  font-size: 12px;
  color: var(--color-gray);
}

.sms-time {
  margin-left: auto;
  font-size: 12px;
  color: var(--color-gray);
}

/* Body */
.sms-phone-body {
  padding: 16px 8px;
}

.sms-date {
  font-size: 12px;
  color: var(--color-gray);
  display: block;
  margin-bottom: 12px;
}

.sms-bubble {
  background: #000;
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-size: 14px;

  line-height: 1.4;
}

/* Input */
.phone-input-box {
    border-radius: 999px;
    border: 1px solid #e1e6f0;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9ff;
    color: #a0a6b8;
}

/* ===============================
   Animación cambio contenido (header + body)
   Usa tu wrapper: .sms-phone-anim
   =============================== */

.sms-phone.is-animating{
  pointer-events: none;
}

.sms-phone .sms-phone-anim{
  transition: opacity .22s ease, transform .22s ease, filter .22s ease;
  will-change: opacity, transform, filter;
}

/* salida */
.sms-phone.is-leaving .sms-phone-anim{
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  filter: blur(2px);
}

/* entrada */
.sms-phone.is-entering .sms-phone-anim{
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  filter: blur(2px);
}

/* normal */
.sms-phone:not(.is-leaving):not(.is-entering) .sms-phone-anim{
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

@media (max-width: 767.08px) {
    .sms-tabs {
        display: flex;
        flex-direction: column;
    }
}

/* ===============================
   SECCIÓN: COBERTURA REGIONAL
   =============================== */

.sms-cobertura{
  background: #f4fbff; /* fondo azul muy suave */
}

.sms-cobertura-layout{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16p;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 991px){
  .sms-cobertura-layout{
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Bloque países */
.sms-cobertura-paises{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 10px;
}

.sms-cobertura-ico{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #2f3542;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.sms-cobertura-listas{
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 34px;
}

.sms-cobertura-list{
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-gray);
  font-size: 14px;
  line-height: 1.9;
}

/* Mapa */
.sms-cobertura-map-wrap{
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sms-cobertura-map{
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
}

/* Badge 14 países */
.sms-cobertura-badge{
  position: absolute;
  top: 40px;
  right: 40px;
  width: 80px;
  height: 80px;
  border-radius: 14px;
  border: 2px solid rgba(0,163,255,.35);
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
}

.sms-cobertura-badge-num{
  font-size: 28px;
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1;
}

.sms-cobertura-badge-txt{
  font-size: 12px;
  color: var(--color-blue);
  margin-top: 4px;
}

/* Leyenda */
.sms-cobertura-leyenda{
  position: absolute;
  right: 90px;
  bottom: 65px;
  background: rgba(47,53,66,.95);
  border-radius: 12px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.sms-dot{
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00a3ff;
  display: inline-block;
}

.sms-cobertura-leyenda-txt{
  font-size: 12px;
  color: var(--color-blue-light);
}

/* Responsive ajustes del badge/leyenda */
@media (max-width: 991px){
  .sms-cobertura-badge{
    top: 18px;
    right: 18px;
    transform: scale(.95);
  }
  .sms-cobertura-leyenda{
    right: 18px;
    bottom: 18px;
  }
}

@media (max-width: 480px){
   .sms-cobertura-listas {
        grid-template-columns: repeat(2, minmax(100px, 1fr));
    }
    .sms-cobertura-ico {
        width: 26px;
        height: 26px;
        border-radius: 8px;
        font-size: 14px;
    }
}


/* ===============================
   Empresas - Beneficios (3 cols)
   =============================== */

.empresas-beneficios{
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 3.2rem;
  align-items: start;
  justify-items: center;
}

@media (max-width: 991px){
  .empresas-beneficios{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.emp-beneficio{
  max-width: 320px;
  text-align: center;
}

.emp-beneficio-ico{
  width: 70px;
  height: 70px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px auto;
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
  font-size: 26px;
}

/* Fondos como tu screenshot (suave + icono al color) */
.emp-beneficio-ico.bg-verde{
  color: #00ab63;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,171,99,.20), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0,171,99,.15), transparent 60%),
    #fff;
}

.emp-beneficio-ico.bg-amarillo{
  color: #ff9900;
  background:
    radial-gradient(circle at 20% 20%, rgba(255,153,0,.20), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(255,153,0,.15), transparent 60%),
    #fff;
}

.emp-beneficio-ico.bg-azul{
  color: #00a3ff;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,163,255,.20), transparent 60%),
    radial-gradient(circle at 80% 80%, rgba(0,163,255,.15), transparent 60%),
    #fff;
}


/* ===============================
   SECCIÓN: CARACTERÍSTICAS SMS
   =============================== */

.sms-features{
  background: #fff;
}

.sms-features-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(240px, 1fr));
  gap: 1.6rem;
  margin-top: 10px;
  align-items: stretch;
  justify-items: center;
}

@media (max-width: 1199px){
  .sms-features-grid{
    grid-template-columns: repeat(3, minmax(240px, 1fr));
  }
}

@media (max-width: 992px){
  .sms-features-grid{
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 575px){
  .sms-features-grid{
    grid-template-columns: 1fr;
  }
}

.sms-feature-card{
  width: 100%;
  max-width: 320px;
  text-align: left;
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 14px;
  padding: 22px 22px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.sms-feature-ico{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 22px;
  background: linear-gradient(135deg, #0062ff, #00a3ff);
    color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.sms-feature-title{
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.sms-feature-desc{
  font-size: 14px;
  color: var(--color-gray);
  margin: 0;
  line-height: 1.6;
}

/* Para que la última fila quede como en la imagen (3 tarjetas centradas) */
@media (min-width: 1200px){
  .sms-features-grid .sms-feature-card:nth-child(5){
    grid-column: 1 / span 1;
  }
  .sms-features-grid .sms-feature-card:nth-child(6){
    grid-column: 2 / span 1;
  }
  .sms-features-grid .sms-feature-card:nth-child(7){
    grid-column: 3 / span 1;
  }
}

/* ===============================
   SECCIÓN: INTEGRACIÓN (API / PORTAL)
   =============================== */

.sms-integracion{
  background: #fff;
}

/* Tabs centrados */
.sms-int-tabs{
  width: fit-content;
  display: inline-flex;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #f3f4f6;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

.sms-int-tab{
  border: 0;
  background: transparent;
  padding: 12px 22px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  color: #6b7280;
  transition: all .25s ease;
}

.sms-int-tab i{
  font-size: 18px;
}

.sms-int-tab.is-active{
  background: var(--color-blue);
  color: #fff;
  box-shadow: 0 12px 22px rgba(0,163,255,0.25);
}

/* Layout */
.sms-int-layout{
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 3.2rem;
  align-items: center;
  text-align: left;
}

@media (max-width: 991px){
  .sms-int-layout{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Chip azul (API SMS / Portal web) */
.sms-chip{
  background: var(--color-blue);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
}

.sms-int-title{
  font-size: 34px;
  font-weight: 800;
  margin: 0;
}

.sms-int-sub{
  color: var(--color-gray);
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Lista estilo “checks” */
.sms-int-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.sms-int-item{
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.sms-int-item strong{
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.sms-int-item span{
  display: block;
  color: var(--color-gray);
  font-size: 14px;
}

.sms-int-check{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  color: var(--color-blue) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  margin-top: 2px;
  font-size: 18px !important;
}

/* Botón */
.sms-int-btn{
  width: fit-content;
}

/* ===============================
   Panel derecho: Code window (API)
   =============================== */

.sms-code-window{
  border-radius: 18px;
  background: #0b1220;
  box-shadow: 0 40px 90px rgba(0,0,0,0.20);
  overflow: hidden;

  width: 100%;
}

.sms-code-top{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.04);
}

.sms-code-top .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  display: inline-block;
}
.sms-code-top .dot.red{ background:#ff5f57; }
.sms-code-top .dot.yellow{ background:#febc2e; }
.sms-code-top .dot.green{ background:#28c840; }

.sms-code-file{
  margin-left: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
}

.sms-code-file .code-ico{
  color: #ff9f0a;
  font-weight: 700;
}

.sms-code-body{
  padding: 18px 20px 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.015));
}

.sms-code-body .code-line{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 14px;
  line-height: 1.75;
  white-space: nowrap;
}

.sms-code-body .indent-1{ padding-left: 18px; }
.sms-code-body .indent-2{ padding-left: 36px; }

/* Colores de código (reusa los que ya usas en apis si existen) */
.color-gris{ color: rgba(255,255,255,0.55); }
.color-verde{ color: #35e18c; }
.color-azul{ color: #5db6ff; }
.color-amarillo{ color: #ffd166; }

/* Responsive: permite scroll horizontal sin romper */
@media (max-width: 575px){
  .sms-code-body{
    overflow-x: auto;
  }
  .sms-code-window{
    max-width: 100%;
  }
    .sms-code-body .code-line {
        
        font-size: 12px;
        line-height: 1.75;
        white-space: normal;
    }

    .sms-int-sub {
        font-size: 14px;
        line-height: 22px;
    }
    .sms-int-title {
        font-size: 28px;
    }
    .sms-integracion .btn-cta{
        width: 100% !important;
    }
}

/* ===============================
   Panel derecho: Imagen (Portal)
   =============================== */

.sms-int-img{
  width: 100%;
  max-width: 760px;
  display: block;
  margin-left: auto;
  border-radius: 18px;
      border: 1px solid rgb(230, 230, 240);

}

/* ===============================
   Tabs + animación entre panels
   =============================== */

.sms-int-content{
  position: relative;
}

.sms-int-panel{
  display: none;
}

.sms-int-panel.is-active{
  display: block;
}

/* animación entrada/salida */
.sms-int-panel .sms-int-anim{
  transition: opacity .24s ease, transform .24s ease, filter .24s ease;
  will-change: opacity, transform, filter;
}

.sms-int-panel.is-leaving .sms-int-anim{
  opacity: 0;
  transform: translateY(10px) scale(0.99);
  filter: blur(2px);
}

.sms-int-panel.is-entering .sms-int-anim{
  opacity: 0;
  transform: translateY(-10px) scale(0.99);
  filter: blur(2px);
}

/* ===============================
   SECCIÓN: STATS (SMS)
   =============================== */

.sms-stats{
  padding: 70px 0;
  color: #fff;
  background: linear-gradient(90deg, #2b6df6 0%, #0b7fd3 55%, #0aa5a6 100%);
}

.sms-stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  align-items: center;
  text-align: center;
}

.sms-stat-number{
  font-size: 48px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.sms-stat-label{
  margin-top: 8px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.92;
}

/* Responsive */
@media (max-width: 991px){
  .sms-stats{
    padding: 56px 0;
  }

  .sms-stats-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .sms-stat-number{
    font-size: 40px;
  }
}

@media (max-width: 575px){
  .sms-stats{
    padding: 48px 0;
  }

  .sms-stats-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .sms-stat-number{
    font-size: 38px;
  }

  .sms-stat-label{
    font-size: 13px;
  }
}
