/* =======================
   ABOUT (Qué hacemos) - Talentia V3
   ======================= */

.b-about {
  padding: 4rem 0;              /* py-16 */
  background: linear-gradient(135deg, #eff6ff 0%, #f1f5f9 100%); /* from-blue-50 to-slate-100 */
}

@media (min-width: 1024px) {
  .b-about { padding: 6rem 0; } /* lg:py-24 */
}

/* Header */
.b-about__header {
  text-align: center;
  margin-bottom: 3rem;          /* mb-12 */
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
}
@media (min-width: 1024px) {
  .b-about__header { margin-bottom: 5rem; } /* lg:mb-20 */
}
.b-about__header.is-in { opacity: 1; transform: translateY(0); }

.b-about__title {
  margin: 0 0 1.5rem 0;
  font-weight: 700;
  color: hsl(var(--primary));
  font-size: clamp(2rem, 4vw, 3rem); /* text-4xl → lg:text-5xl */
}

.b-about__lead {
  margin: 0 auto 0.75rem auto;
  line-height: 1.7;
  color: #475569; /* slate-600 */
}
.b-about__lead--main {
  font-size: clamp(1.125rem, 2.2vw, 1.25rem); /* text-lg → lg:text-xl */
  max-width: 56rem;
}
.b-about__lead--sub {
  font-size: clamp(1rem, 2vw, 1.125rem);      /* text-base → lg:text-lg */
  max-width: 48rem;
  color: #64748b; /* slate-500 */
}

/* Grid principal */
.b-about__grid {
  display: grid;
  gap: 3rem;                     /* gap-12 */
  align-items: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease .15s;
}
.b-about__grid.is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .b-about__grid {
    grid-template-columns: 1fr 1fr; /* lg:grid-cols-2 */
    gap: 4rem;                      /* lg:gap-16 */
  }
}

/* Cards */
.b-about__cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;                   /* space-y-6 */
}

.b-about__card {
  text-decoration: none;
  display: block;
  border-radius: 1rem;           /* rounded-2xl */
  background: #fff;
  box-shadow: 0 10px 25px rgba(2, 6, 23, .08); /* shadow-lg */
  padding: 1.5rem;               /* p-6 */
  transition: transform .3s ease, box-shadow .3s ease, opacity .4s ease;
  opacity: 0;
  transform: translateY(12px);
}
@media (min-width:1024px){
  .b-about__card { padding: 2rem; } /* lg:p-8 */
}
.b-about__card.is-in {
  opacity: 1;
  transform: translateY(0);
}
.b-about__card:hover {
  transform: translateY(-2px) scale(1.02);    /* hover:scale-105 suavizado */
  box-shadow: 0 18px 36px rgba(2, 6, 23, .12);/* hover:shadow-xl */
}

.b-about__card-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;                     /* space-x-4 */
}

.b-about__icon {
  width: 3rem; height: 3rem;     /* w-12 h-12 */
  border-radius: 0.75rem;        /* rounded-xl */
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* icon variants (bg + color) */
.i-edu { background: #eff6ff; color: #3b82f6; }          /* blue-50 + blue-500 */
.i-org { background: hsla(var(--primary)/0.1); color: hsl(var(--primary)); }
.i-tal { background: hsla(var(--secondary)/0.1); color: hsl(var(--secondary)); }

.b-about__icon svg {
    width:24px;
    height:24px;
}

.b-about__card-title {
  margin: 0 0 .5rem 0;
  font-weight: 700;
  color: hsl(var(--primary));
  font-size: clamp(1.125rem, 2.2vw, 1.5rem); /* text-xl → lg:text-2xl */
}
.b-about__card-desc {
  margin: 0;
  color: #475569; /* slate-600 */
  line-height: 1.7;
}

/* Imagen derecha + decorativos */
.b-about__image-wrap {
  position: relative;
}

.b-about__image-deco {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;         /* rounded-3xl */
  background: linear-gradient(135deg, hsla(var(--primary)/.1), hsla(var(--secondary)/.1));
  transform: rotate(3deg);
}

.b-about__image-frame {
  position: relative;
  background: #fff;
  border-radius: 1.5rem;         /* rounded-3xl */
  padding: 1rem;                  /* p-4 */
  box-shadow: 0 20px 40px rgba(2, 6, 23, .14); /* shadow-2xl */
  transform: rotate(-1deg);
  transition: transform .5s ease;
}
.b-about__image-frame:hover {
  transform: rotate(0deg);
}

.b-about__image-clip {
  overflow: hidden;
  border-radius: 1rem;           /* rounded-2xl */
}

.b-about__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* blobs decorativos */
.b-about__blob {
  position: absolute;
  filter: blur(18px);
  border-radius: 9999px;
  pointer-events: none;
}
.b-about__blob--1 {
  top: -2rem; right: -2rem;
  width: 5rem; height: 5rem;
  background: linear-gradient(135deg, hsla(var(--secondary)/.2), hsla(var(--primary)/.2));
  animation: pulseGlow 2.2s ease-in-out infinite;
}
.b-about__blob--2 {
  bottom: -1.5rem; left: -1.5rem;
  width: 6rem; height: 6rem;
  background: linear-gradient(135deg, hsla(var(--primary)/.15), hsla(var(--secondary)/.15));
}

@keyframes pulseGlow {
  0%,100% { transform: scale(1); opacity: .9; }
  50%     { transform: scale(1.06); opacity: .7; }
}

.mx-auto { margin-left: auto; margin-right: auto; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }

/* Fin */