/**
 * Grupo FAM - Estilos para Widget "Quiénes Somos / Perfil Corporativo FAM TEAM"
 */

.fam-about-section {
  position: relative;
  padding: 80px 0;
  color: #171c36;
}

.fam-about-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Encabezado */
.fam-about-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a37a3f;
  background: rgba(163, 122, 63, 0.08);
  border: 1px solid rgba(163, 122, 63, 0.25);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.fam-about-heading {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  color: #11162b;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.fam-about-lead {
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.6;
  color: #434c68;
  max-width: 860px;
  margin: 0 0 48px 0;
  font-weight: 400;
}

/* Grilla Editorial Principal (Texto + Galería) */
.fam-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}

@media (max-width: 991px) {
  .fam-about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.fam-about-story {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.fam-about-paragraph {
  font-size: 15px;
  line-height: 1.75;
  color: #4b5570;
  margin: 0;
}

.fam-about-paragraph strong {
  color: #11162b;
  font-weight: 600;
}

/* Galería Histórica */
.fam-about-gallery {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fam-about-photo-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(17, 22, 43, 0.08);
  border: 1px solid rgba(17, 22, 43, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fam-about-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(17, 22, 43, 0.12);
}

.fam-about-photo-wrap {
  width: 100%;
  height: 280px;
  overflow: hidden;
  position: relative;
  background: #eef1f6;
}

.fam-about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fam-about-photo-card:hover .fam-about-photo-wrap img {
  transform: scale(1.04);
}

.fam-about-photo-caption {
  padding: 16px 20px;
  background: #ffffff;
  border-top: 1px solid rgba(17, 22, 43, 0.06);
}

.fam-about-photo-caption-title {
  font-size: 14px;
  font-weight: 700;
  color: #11162b;
  margin: 0 0 4px 0;
}

.fam-about-photo-caption-text {
  font-size: 13px;
  line-height: 1.5;
  color: #6a7490;
  margin: 0;
}

/* Métricas Clave */
.fam-about-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 64px;
}

@media (max-width: 991px) {
  .fam-about-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 540px) {
  .fam-about-metrics {
    grid-template-columns: 1fr;
  }
}

.fam-about-metric-card {
  background: #ffffff;
  border: 1px solid rgba(17, 22, 43, 0.08);
  border-radius: 12px;
  padding: 28px 24px;
  position: relative;
  box-shadow: 0 4px 16px rgba(17, 22, 43, 0.04);
  transition: all 0.3s ease;
}

.fam-about-metric-card:hover {
  border-color: #a37a3f;
  box-shadow: 0 10px 28px rgba(163, 122, 63, 0.12);
  transform: translateY(-2px);
}

.fam-about-metric-value {
  font-size: clamp(32px, 3.2vw, 42px);
  font-weight: 800;
  color: #11162b;
  line-height: 1.1;
  margin: 0 0 8px 0;
  letter-spacing: -0.02em;
}

.fam-about-metric-title {
  font-size: 14px;
  font-weight: 700;
  color: #a37a3f;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 6px 0;
}

.fam-about-metric-desc {
  font-size: 13px;
  line-height: 1.5;
  color: #6a7490;
  margin: 0;
}

/* Pilares & Compromisos */
.fam-about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 991px) {
  .fam-about-pillars {
    grid-template-columns: 1fr;
  }
}

.fam-about-pillar-card {
  background: #fbfbfd;
  border: 1px solid rgba(17, 22, 43, 0.08);
  border-radius: 12px;
  padding: 28px;
  transition: all 0.3s ease;
}

.fam-about-pillar-card:hover {
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(17, 22, 43, 0.08);
}

.fam-about-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(163, 122, 63, 0.1);
  color: #a37a3f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.fam-about-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.fam-about-pillar-title {
  font-size: 17px;
  font-weight: 700;
  color: #11162b;
  margin: 0 0 10px 0;
}

.fam-about-pillar-text {
  font-size: 14px;
  line-height: 1.65;
  color: #555f7c;
  margin: 0;
}
