/* =========================
   FORSÉNTICO — LIDERAZGO ORGANIZACIONAL
   ========================= */

.page-leadership {
  background: #f4f6fa;
  color: #102048;
}

.lead-container {
  width: min(calc(100% - 2rem), 1240px);
  margin: 0 auto;
}

/* HERO */

.lead-hero {
  position: relative;
  padding: 7rem 0 5rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(5, 15, 50, 0.72), rgba(5, 15, 50, 0.84)),
    url("../images/liderazgo-organizacional/hero-liderazgo.webp");
  background-size: cover;
  background-position: center;
}

.lead-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 18% 20%, rgba(35, 72, 199, 0.22), transparent 30%);
}

.lead-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: 4rem;
  align-items: center;
}

.lead-label {
  display: inline-flex;
  width: fit-content;
  padding: 0.72rem 1rem 0.68rem;
  border-radius: 0 14px 14px 14px;
  background: rgba(35, 72, 199, 0.12);
  border: 1px solid rgba(126, 160, 255, 0.24);
  color: #9fb7ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead-label-light {
  color: #ffffff;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
}

.lead-hero-content h1 {
  max-width: 13ch;
  margin: 1.2rem 0 1.2rem;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 5.35rem);
  line-height: 0.94;
  letter-spacing: -0.06em;
}

.lead-hero-content > p {
  max-width: 58ch;
  margin: 0 0 1.2rem;
  color: rgba(255,255,255,0.84);
  font-size: 1.05rem;
  line-height: 1.78;
}

.lead-support-text {
  max-width: 58ch;
  margin: 0 0 1.8rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(159,183,255,0.55);
}

.lead-support-text p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* BOTONES */

.lead-btn-primary,
.lead-btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.6rem;
  border-radius: 999px;
  background: #2348c7;
  border: 1px solid #2348c7;
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 900;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.lead-btn-primary:hover,
.lead-btn-submit:hover {
  transform: translateY(-2px);
  background: #1738a8;
}

.lead-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

/* FORMULARIO */

.lead-form {
  padding: 2rem;
  border-radius: 0 28px 28px 28px;
  background: rgba(9, 18, 54, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 22px 52px rgba(0,0,0,0.28);
}

.lead-form h2 {
  margin: 0 0 1.6rem;
  color: #ffffff;
  font-size: 1.45rem;
}

.lead-form-group {
  margin-bottom: 1rem;
}

.lead-form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.lead-form label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(255,255,255,0.84);
  font-size: 0.85rem;
  font-weight: 700;
}

.lead-form input,
.lead-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.06);
  color: #ffffff;
  font-size: 0.95rem;
}

.lead-form textarea {
  resize: vertical;
}

.lead-form input:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: #9fb7ff;
}

.lead-consent {
  margin: 1rem 0 1.4rem;
}

.lead-consent label {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  color: rgba(255,255,255,0.72);
  font-size: 0.78rem;
  line-height: 1.55;
}

.lead-consent a {
  color: #9fb7ff;
}

/* SECCIONES */

.lead-section {
  padding: 5.5rem 0;
}

.lead-heading {
  max-width: 780px;
  margin-bottom: 2.5rem;
}

.lead-heading h2,
.lead-copy h2 {
  margin: 1rem 0 0;
  color: #071b68;
  font-size: clamp(2.25rem, 3.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

/* DIMENSIONES */

.lead-dimensions {
  background: #ffffff;
}

.lead-dimension-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lead-dimension-card {
  min-height: 280px;
  padding: 1.6rem;
  border-radius: 0 24px 24px 24px;
  background: #071b68;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(7, 27, 104, 0.12);
  transition: all 0.3s ease;
}

.lead-dimension-card:hover {
  transform: translateY(-6px);
  background: #102b8f;
}

.lead-dimension-card h3 {
  margin: 0 0 1rem;
  color: #ffffff;
  font-size: 1.12rem;
  line-height: 1.25;
}

.lead-dimension-card p {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 0.94rem;
  line-height: 1.65;
}

.lead-center-cta {
  margin-top: 2rem;
}

/* SPLIT */

.lead-split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: 4rem;
  align-items: center;
}

.lead-split-reverse {
  grid-template-columns: minmax(420px, 1fr) minmax(0, 0.95fr);
}

.lead-image-card {
  height: 460px;
  overflow: hidden;
  border-radius: 0 30px 30px 30px;
  border: 1px solid rgba(7, 27, 104, 0.08);
  background: #dfe7f5;
  box-shadow: 0 24px 52px rgba(7, 27, 104, 0.1);
}

.lead-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-copy p {
  margin: 1rem 0 0;
  color: #5f6e8a;
  font-size: 1rem;
  line-height: 1.82;
}

/* PROBLEMAS */

.lead-problems {
  background: #f4f6fa;
}

.lead-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.lead-problem-grid span {
  padding: 1.2rem 1.3rem;
  border-radius: 0 18px 18px 18px;
  background: #ffffff;
  border: 1px solid rgba(7, 27, 104, 0.08);
  color: #071b68;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

/* IMPACTO */

.lead-impact {
  background: #ffffff;
}

.lead-impact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.lead-impact-grid span {
  padding: 1.2rem 1.3rem;
  border-radius: 0 18px 18px 18px;
  background: #f4f6fa;
  border: 1px solid rgba(7, 27, 104, 0.08);
  color: #071b68;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.45;
}

/* METODOLOGÍA */

.lead-method {
  background: #f4f6fa;
}

.lead-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.lead-method-grid article {
  padding: 2rem;
  border-radius: 0 22px 22px 22px;
  background: #ffffff;
  border: 1px solid rgba(7, 27, 104, 0.08);
  box-shadow: 0 14px 34px rgba(7, 27, 104, 0.05);
}

.lead-method-grid span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: #2348c7;
  font-size: 0.9rem;
  font-weight: 900;
}

.lead-method-grid h3 {
  margin: 0 0 0.8rem;
  color: #071b68;
  font-size: 1.1rem;
}

.lead-method-grid p {
  margin: 0;
  color: #5f6e8a;
  line-height: 1.7;
}

/* CTA FINAL */

.lead-final-cta {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background:
    linear-gradient(rgba(5,15,50,0.82), rgba(5,15,50,0.9)),
    url("../images/liderazgo-organizacional/liderazgo-equipos.webp");
  background-size: cover;
  background-position: center;
}

.lead-final-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 82% 20%, rgba(159,183,255,0.16), transparent 26%);
}

.lead-final-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.lead-final-content h2 {
  max-width: 13ch;
  margin: 1rem 0;
  color: #ffffff;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead-final-content p {
  max-width: 58ch;
  margin: 0 0 1.8rem;
  color: rgba(255,255,255,0.82);
  line-height: 1.8;
}

.lead-final-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* STICKY MOBILE */

.lead-mobile-sticky {
  display: none;
}

/* RESPONSIVE */

@media (max-width: 1100px) {
  .lead-hero-grid,
  .lead-split,
  .lead-split-reverse {
    grid-template-columns: 1fr;
  }

  .lead-dimension-grid,
  .lead-problem-grid,
  .lead-impact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .lead-method-grid {
    grid-template-columns: 1fr;
  }

  .lead-hero-content h1,
  .lead-copy h2,
  .lead-heading h2,
  .lead-final-content h2 {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .lead-hero {
    padding: 5.5rem 0 4rem;
  }

  .lead-section {
    padding: 4rem 0;
  }

  .lead-form-row,
  .lead-dimension-grid,
  .lead-problem-grid,
  .lead-impact-grid {
    grid-template-columns: 1fr;
  }

  .lead-form {
    padding: 1.5rem;
  }

  .lead-hero-content h1 {
    font-size: clamp(2.35rem, 10vw, 3.4rem);
  }

  .lead-image-card {
    height: 320px;
  }

  .lead-mobile-sticky {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    border-radius: 999px;
    background: #2348c7;
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(0,0,0,0.22);
  }
}
.lead-success-message {
  margin-bottom: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background: rgba(32, 201, 151, 0.12);
  border: 1px solid rgba(32, 201, 151, 0.28);
  color: #20c997;
  font-size: 0.92rem;
  font-weight: 700;
}