:root{
  --bg:#F3F3F5;
  --black:#050505;
  --white:#ffffff;

  --radius:24px;
  --pad:18px;
  --max:1100px;
}

/* base */
*{box-sizing:border-box}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color:#111;
}

.container{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

/* header */
.topbar{
  height:64px;
  display:flex;
  align-items:center;
  background: transparent;
}
.topbar__inner{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  text-decoration:none;
}
.brand__logo{
  height:34px;   /* ajusta si lo quieres más grande */
  width:auto;
  display:block;
}

/* EN/ES pills (como el diseño: pequeño, redondeado) */
.lang{
  display:flex;
  gap:8px;
  align-items:center;
}
.lang__pill{
  border:1px solid rgba(0,0,0,0.10);
  background:#fff;
  padding: 6px 10px;
  border-radius:999px;
  font-weight:700;
  font-size:12px;
  cursor:pointer;
  color: rgba(0,0,0,0.60);
}
.lang__pill--active{
  background:#ff3b30;
  border-color:#ff3b30;
  color:#fff;
}

/* HERO */
.hero{
  position:relative;
  margin-top: 6px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--white);
  padding: 30px;
  padding-bottom: 92px;
  overflow:hidden;

  min-height: 340px;
}



/* ✅ Ribbon TOP (tu imagen ribbon-top.png) */
.hero::before{
  content:"";
  position:absolute;
  left:-6%;
  top:-30px;
  width:112%;
  height: 230px;

  background-image: url("assets/linea1.png");
  background-repeat:no-repeat;
  background-position: top center;
  background-size: 120% auto;

  opacity: 1;
  pointer-events:none;
  z-index: 1;                 /* 👈 IMPORTANTE: visible encima del fondo */
}



/* Texto */
.hero__title{
  position:relative;
  z-index:2;
  margin:0;
  font-size: 54px;         /* más grande */
  line-height: 1.03;
  letter-spacing: -0.03em;
  font-weight: 800;
  max-width: 920px;
}

.hero__subtitle{
  position:relative;
  z-index:2;
  margin: 14px 0 0 0;
  max-width: 720px;

  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: -0.01em;

  color: rgba(255,255,255,0.78);  /* blanco suave */
}



/* Botones */
.hero__actions{
  position:absolute;
  left:30px;
  right:30px;
  bottom:26px;
  z-index:3;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* ===== BOTONES HERO: mismo borde gradiente + giro en hover ===== */

/* ===== BOTONES HERO: aro de luz tipo loading (multicolor) ===== */

/* Para animar un ángulo de forma suave */
@property --a {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.btn{
  --a: 0deg;
  position: relative;
  text-decoration:none;
  color:#fff;
  display:inline-flex;
  align-items:center;
  gap:10px;

  border-radius:999px;
  padding: 12px 16px;
  font-size:13px;
  font-weight:600;

  /* Truco: 2 fondos
     - 1) fondo del botón (padding-box)
     - 2) aro/borde (border-box) */
  border: 2px solid transparent;
  background:
    linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.55)) padding-box,
    conic-gradient(
      from var(--a),
      rgba(255,255,255,0.10) 0% 74%,  /* borde sutil */
      #105EDA 76%,
      #6A1A99 80%,
      #F51A1F 84%,
      #F06113 88%,
      #F9920B 92%,
      rgba(255,255,255,0.10) 96% 100%
    ) border-box;

  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .18s ease, box-shadow .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
  /* glow sutil extra en hover */
  box-shadow:
    0 0 16px rgba(240,97,19,0.18),
    0 0 16px rgba(16,94,218,0.14),
    0 10px 30px rgba(0,0,0,0.35);
  animation: ringSpin 1.1s linear infinite;
}

/* Gira el arco multicolor alrededor del borde */
@keyframes ringSpin{
  to { --a: 360deg; }
}

/* PLAY circle (igual que antes) */
.btn__play{
  width:28px;
  height:28px;
  border-radius:999px;
  border: 1px solid rgba(255,255,255,0.18);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  position:relative;
  flex: 0 0 auto;
}

.btn__play::before{
  content:"";
  width:10px;
  height:10px;
  background:#fff;
  clip-path: polygon(15% 10%, 90% 50%, 15% 90%);
  margin-left:2px;
  opacity:0.95;
}




/* responsive */
@media (max-width: 520px){
  .hero{
    padding: 20px;
    padding-bottom: 86px;
    min-height: 300px;
  }
{
  .hero__title{ font-size: 38px; max-width:100%; }
  .hero__subtitle{ font-size: 14px; max-width: 80%; }
}

  .hero__actions{
    left:20px;
    right:20px;
    bottom:18px;
  }

  .hero::before{
  top:-30px;
  height:230px;
}
  .hero::after{
    width:260px;
  }
}
/* ================================
   PASO 2 (LIMPIO): sección gris + 2 cards
   ================================ */

/* Sección grande gris */
.sectionGrey{
  margin-top: 26px;
  background: #E9EAED;
  padding: 80px 0;
}

/* Grid de 2 columnas */
.cardsRow{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);

  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  justify-items: center;
  align-items: center;
}

/* Cards cuadradas */
.miniCard{
  background: var(--black);
  color: var(--white);
  border-radius: 20px;
  padding: 26px;
  position: relative;
  overflow:hidden;

  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
}

/* ===== Card Beneficios ===== */

/* Icono beneficios centrado */
.ringWrap{
  display:flex;
  justify-content:center;
  margin-top: 4px;
  margin-bottom: 18px;
}

.beneficiosIcon{
  width:64px;
  height:64px;
  display:block;
}

/* Lista (5 bullets, look Figma) */
.miniList{
  margin: 0;
  padding: 0;
  list-style: none;

  width: 100%;
  max-width: 255px;              /* mantiene look “limpio” */
  margin-left: auto;
  margin-right: auto;

  display: grid;
  gap: 14px;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

.miniList li{
  position: relative;
  padding-left: 18px;
  letter-spacing: -0.01em;

  white-space: nowrap;           /* evita párrafos en desktop */
  overflow: hidden;
  text-overflow: ellipsis;       /* recorte elegante si se pasa */
}

.miniList li::before{
  content:"";
  width:6px;
  height:6px;
  border-radius:999px;
  background: rgba(255,255,255,0.85);
  position:absolute;
  left:0;
  top: 8px;
}

/* ===== Card Social ===== */

.socialTop{
  display:flex;
  align-items:center;
  gap:10px;
  color: rgba(255,255,255,0.82);
  font-size: 12px;
  font-weight: 600;
}

.socialDot{
  width:12px;
  height:12px;
  border-radius:999px;
  background: rgba(255,255,255,0.95);
}

.igPng{
  width:14px;
  height:14px;
  opacity:0.75;
  margin-left:auto;
  display:block;
}

/* Título grande “premium” */
.socialTitle{
  margin: 14px 0 0 0;
  font-size: 46px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;              /* clave para parecer Figma */
  color: rgba(255,255,255,0.95);
}

/* CTA centrado abajo */
.socialCtaRow{
  position:absolute;
  left:0;
  right:0;
  bottom: 22px;

  display:flex;
  justify-content:center;
  align-items:center;
}

/* Botón Conócenos con bolita dentro */
.socialBtn{
  text-decoration:none;
  color: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 10px 14px;
  border-radius:999px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255,255,255,0.02);

  display:inline-flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;

  min-width: 170px;
}

.socialBtn span:first-child{
  padding-left: 4px;
}

/* Bolita gradiente dentro del botón */
.miniBall{
  width:22px;
  height:22px;
  border-radius:999px;
  background: linear-gradient(90deg,#105EDA,#6A1A99,#F51A1F,#F06113,#F9920B);
  flex: 0 0 auto;
}

/* ===== Responsive ===== */
@media (max-width: 820px){
  .sectionGrey{ padding: 60px 0; }

  .cardsRow{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .miniCard{
    width: min(360px, 100%);
  }
}

@media (max-width: 520px){
  .socialTitle{ font-size: 32px; }
  .miniList{ max-width: 270px; }
  .miniList li{ white-space: normal; } /* móvil permite 2 líneas */
}

}


