/* ─────────────────────────────────────────────────────────
   LA FIRMA
───────────────────────────────────────────────────────── */

#la-firma {
  background: var(--off-white);
}

#la-firma .firm-text {
  text-align: left;
}

#la-firma .firm-text p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

#la-firma .section-label {
  display: flex;
  align-items: center;
  gap: 10px;
}

#la-firma .section-label::before {
  content: '';
  display: block;
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

#la-firma .section-label::after {
  content: '';
  flex: none;
  width: 28px;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}



#la-firma .firm-text .section-title {
  text-align: left;
}

#la-firma .mv-grid {
  text-align: left;
}

.firm-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 5rem;
  align-items: start;
}

/* ── Textos ─────────────────────────────────────────── */

.firm-text p {
  font-size: 15.5px;
  line-height: 1.9;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* ── Misión / Visión ────────────────────────────────── */

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.mv-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.mv-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);

  box-shadow:
    0 10px 30px rgba(15, 40, 80, 0.08);
}

.mv-card h4 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.mv-card p {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
  margin: 0;
  text-align: justify;
}

/* ── Valores ────────────────────────────────────────── */

.valores-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.valores-title {
  margin-bottom: 1rem;
}

.valores-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.valores-list li {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 0.85rem 1.25rem;

  border: 1px solid var(--border);
  border-radius: 10px;

  font-size: 14px;
  color: var(--text);
  background: white;

  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.valores-list li:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(15,40,80,0.06);
}

.valores-list li::before {
  content: '';

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: var(--accent);

  flex-shrink: 0;
}

/* ── Aside ──────────────────────────────────────────── */

.firm-aside {
  position: sticky;
  top: 100px;
}

/* ── Imagen Block ───────────────────────────────────── */

.firm-image-block {
  position: relative;
  overflow: hidden;

  border-radius: 22px;

  min-height: 680px;

  display: flex;
  align-items: flex-end;

  box-shadow:
    0 20px 60px rgba(12, 24, 45, 0.16);
}

/* ── Imagen ─────────────────────────────────────────── */

.firm-bg-image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.7s ease;
}

/* Hover Zoom */

.firm-image-block:hover .firm-bg-image {
  transform: scale(1.05);
}

/* ── Overlay ────────────────────────────────────────── */

.firm-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(5, 15, 35, 0.96),
      rgba(5, 15, 35, 0.72),
      rgba(5, 15, 35, 0.25)
    );
}

/* ── Content ────────────────────────────────────────── */

.firm-content {
  position: relative;
  z-index: 2;

  padding: 2.5rem;

  color: white;
}

.firm-content {
  text-align: center;
}

.firm-content h3 {
  font-size: 2rem;
  line-height: 1.25;
  font-weight: 300;

  margin-bottom: 1rem;

  font-style: italic;
  text-align: left;
}

.firm-content p {
  font-size: 14px;
  line-height: 1.9;

  color: rgba(255,255,255,0.82);

  margin-bottom: 2rem;
}

.firm-content .firm-audience-label,
.firm-content .audience-tags,
.firm-content .btn-ghost-white {
  text-align: left;
}

/* ── Audience ───────────────────────────────────────── */

.firm-audience-label {
  font-size: 11px;

  letter-spacing: 2px;
  text-transform: uppercase;

  opacity: 0.6;

  margin-bottom: 0.85rem;
}

.audience-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 0.65rem;

  margin-bottom: 2rem;
}

.tag {
  padding: 0.55rem 1rem;

  border-radius: 999px;

  font-size: 12.5px;

  color: rgba(255,255,255,0.92);

  background: rgba(255,255,255,0.10);

  border: 1px solid rgba(255,255,255,0.16);

  backdrop-filter: blur(10px);

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.tag:hover {
  background: rgba(255,255,255,0.18);
  transform: translateY(-2px);
}



/* ── Responsive ─────────────────────────────────────── */

@media (max-width: 1024px) {

  .firm-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .firm-aside {
    position: static;
  }

  .firm-image-block {
    min-height: 560px;
  }

}

@media (max-width: 768px) {

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .firm-content {
    padding: 2rem;
  }

  .firm-content h3 {
    font-size: 1.65rem;
  }

  .firm-image-block {
    min-height: 500px;
  }

}