/* =========================================================
   RETRATOS CON ROBOT IA — estilos propios de la página.
   Los tokens (colores, tipografías, botones, header, footer)
   vienen de /styles.css del sitio principal.
   ========================================================= */

.retratos {
  padding-top: var(--hdr-h);
}

/* ---------- HERO ---------- */
.rh {
  position: relative;
  padding: 56px 0 40px;
  background:
    radial-gradient(70% 55% at 100% 0%, rgba(123, 47, 247, .18), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(255, 45, 120, .12), transparent 70%),
    var(--ink);
  overflow: hidden;
}

.rh__in {
  max-width: 760px;
}

.rh__title {
  font-size: clamp(2.3rem, 9vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
  margin-bottom: 18px;
  text-wrap: balance;
}

.rh__title em {
  font-style: normal;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rh__lede {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(240, 237, 231, .8);
  margin-bottom: 26px;
  max-width: 60ch;
}

.rh__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 34px;
}

/* ---------- PUNTOS DE VALOR ---------- */
.rbenefits {
  display: grid;
  gap: 0;
  margin-bottom: 40px;
  max-width: 900px;
}

.rben {
  display: flex;
  gap: 14px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.rben__n {
  flex: 0 0 auto;
  width: 22px;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--flash);
  padding-top: 4px;
}

.rben h3 {
  font-size: 1.08rem;
  margin-bottom: 4px;
}

.rben p {
  color: var(--fog);
  font-size: .94rem;
}

/* ---------- VIDEO ---------- */
.rvideo {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: var(--ink-2);
  max-width: 420px;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .9);
}

.rvideo video {
  display: block;
  width: 100%;
  height: auto;
}

/* ---------- GRILLA DE ESTILOS ---------- */
.rstyles {
  padding: 68px 0 90px;
  background: var(--ink-2);
  border-top: 1px solid var(--line);
}

.rgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.rcard {
  position: relative;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ink-3);
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s var(--ease);
}

.rcard:hover {
  border-color: var(--flash);
  transform: translateY(-3px);
}

.rcard__img {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #fff;
}

.rcard__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}

.rcard:hover .rcard__img img {
  transform: scale(1.05);
}

.rcard__n {
  position: absolute;
  top: 8px;
  left: 9px;
  font-family: var(--mono);
  font-size: .6rem;
  letter-spacing: .06em;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  padding: 2px 6px;
  border-radius: 4px;
}

.rcard__body {
  padding: 14px 14px 16px;
}

.rcard__body h3 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.rcard__body p {
  color: var(--fog);
  font-size: .84rem;
  line-height: 1.5;
}

@media (min-width: 640px) {
  .rgrid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
}

@media (min-width: 1000px) {
  .rgrid {
    grid-template-columns: repeat(4, 1fr);
  }

  .rh {
    padding: 84px 0 60px;
  }

  .rh__lede {
    font-size: 1.14rem;
  }

  .rbenefits {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 32px;
  }

  .rben {
    border-top: 1px solid var(--line-2);
  }

  .rcard__body {
    padding: 16px 16px 18px;
  }
}

/* ---------- CIERRE ---------- */
.rend {
  padding: 70px 0 84px;
  background: var(--ink);
  text-align: center;
}

.rend h2 {
  font-size: clamp(1.8rem, 6vw, 2.8rem);
  margin-bottom: 12px;
}

.rend p {
  color: var(--fog);
  max-width: 50ch;
  margin: 0 auto 26px;
}

.rend__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
