/* Misión, visión y valores */

.ft-mvv-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(26rem, 54vh, 34rem);
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
  background: #0f2348;
}

.ft-mvv-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ft-mvv-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.04);
  animation: ft-mvv-ken 20s ease-in-out infinite alternate;
}

.ft-mvv-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(10, 24, 48, 0.95) 0%, rgba(14, 30, 58, 0.82) 46%, rgba(14, 30, 58, 0.35) 72%, rgba(14, 30, 58, 0.18) 100%),
    radial-gradient(ellipse at 18% 28%, rgba(224, 35, 41, 0.16), transparent 42%);
}

.ft-mvv-hero-inner {
  position: relative;
  z-index: 2;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 5rem 0 3.75rem;
}

.ft-mvv-hero-copy {
  max-width: 44rem;
}

.ft-mvv-hero-title {
  margin: 0 0 0.85rem;
  font-size: clamp(2.1rem, 4.6vw, 3.15rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ft-mvv-hero-title .ft-heart {
  color: var(--ft-red);
  margin-left: 0.35rem;
  font-size: 0.72em;
  vertical-align: middle;
  display: inline-flex;
  animation: ft-mvv-pulse 2.4s ease-in-out infinite;
}

.ft-mvv-hero-lead {
  margin: 0 0 1.55rem;
  max-width: 34rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.ft-mvv-hero-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.2rem;
}

.ft-mvv-hero-features li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
  opacity: 0;
  transform: translateY(0.55rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ft-mvv-hero-features li.is-visible {
  opacity: 1;
  transform: none;
}

.ft-mvv-hero-feature-icon {
  display: inline-flex;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  margin-top: 0.1rem;
}

.ft-mvv-hero-features strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.ft-mvv-hero-features span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.ft-mvv-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
  color: #f5f7fb;
  pointer-events: none;
}

.ft-mvv-hero-wave svg {
  width: 100%;
  height: 70px;
  display: block;
}

.ft-mvv-hero + .ft-subnav {
  position: relative;
  z-index: 6;
  margin-top: -2.55rem;
  background: transparent;
  border: 0;
  padding: 0 1rem 0.35rem;
}

.ft-mvv-hero + .ft-subnav .ft-subnav-inner {
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  max-width: max-content;
  margin: 0 auto;
  padding: 0.45rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(18, 38, 72, 0.12);
}

/* Panels */
.ft-mvv-panels {
  padding: 2.75rem 0 1.25rem;
  background: #f5f7fb;
}

.ft-mvv-panels-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.ft-mvv-panel {
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.07);
  border-radius: 1.25rem;
  padding: 1.55rem 1.45rem 1.4rem;
  box-shadow: 0 14px 32px rgba(18, 38, 72, 0.06);
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity 0.45s ease, transform 0.45s ease, box-shadow 0.3s ease;
}

.ft-mvv-panel.is-visible {
  opacity: 1;
  transform: none;
}

.ft-mvv-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(18, 38, 72, 0.1);
}

.ft-mvv-panel-icon {
  display: grid;
  place-items: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.ft-mvv-panel--mission .ft-mvv-panel-icon {
  background: var(--ft-green-soft);
  color: var(--ft-red);
}

.ft-mvv-panel--vision .ft-mvv-panel-icon {
  background: #e8effc;
  color: #3b6bb3;
}

.ft-mvv-panel h2 {
  margin: 0 0 0.7rem;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--ft-navy);
}

.ft-mvv-panel > p {
  margin: 0 0 1.15rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--ft-text-soft);
}

.ft-mvv-panel-tags {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.ft-mvv-panel-tags li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.38rem 0.7rem;
  border-radius: 999px;
  background: #f1f4f9;
  color: var(--ft-navy);
  font-size: 0.74rem;
  font-weight: 750;
}

.ft-mvv-panel--mission .ft-mvv-panel-tags .ft-icon {
  color: var(--ft-red);
  font-size: 0.78rem;
}

.ft-mvv-panel--vision .ft-mvv-panel-tags .ft-icon {
  color: #3b6bb3;
  font-size: 0.78rem;
}

/* Valores */
.ft-mvv-values {
  padding: 1.25rem 0 3.75rem;
  background: #f5f7fb;
}

.ft-mvv-values-card {
  background: #fff;
  border: 1px solid rgba(15, 40, 80, 0.07);
  border-radius: 1.25rem;
  padding: 1.55rem 1.35rem 1.45rem;
  box-shadow: 0 14px 32px rgba(18, 38, 72, 0.06);
  opacity: 0;
  transform: translateY(0.7rem);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.ft-mvv-values-card.is-visible {
  opacity: 1;
  transform: none;
}

.ft-mvv-values-head {
  margin-bottom: 1.25rem;
}

.ft-mvv-values-head h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--ft-navy);
}

.ft-mvv-values-head h2::after {
  content: '';
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: var(--ft-red);
}

.ft-mvv-values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.ft-mvv-value {
  padding: 0.35rem 0.25rem;
}

.ft-mvv-value-icon {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  font-size: 1.15rem;
}

.ft-mvv-value[data-tone='red'] .ft-mvv-value-icon {
  background: var(--ft-green-soft);
  color: var(--ft-red);
}
.ft-mvv-value[data-tone='blue'] .ft-mvv-value-icon {
  background: #e8effc;
  color: #3b6bb3;
}
.ft-mvv-value[data-tone='green'] .ft-mvv-value-icon {
  background: #e8f7ef;
  color: #2f9d63;
}
.ft-mvv-value[data-tone='gold'] .ft-mvv-value-icon {
  background: #fff3d8;
  color: #d4a017;
}
.ft-mvv-value[data-tone='violet'] .ft-mvv-value-icon {
  background: #f1e9ff;
  color: #7a4fcf;
}

.ft-mvv-value h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--ft-navy);
}

.ft-mvv-value p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ft-text-soft);
}

@keyframes ft-mvv-ken {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes ft-mvv-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

@media (max-width: 1100px) {
  .ft-mvv-values-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .ft-mvv-hero-features,
  .ft-mvv-panels-grid {
    grid-template-columns: 1fr;
  }

  .ft-mvv-hero + .ft-subnav .ft-subnav-inner {
    border-radius: 1.25rem;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .ft-mvv-values-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ft-mvv-hero-bg img,
  .ft-mvv-hero-title .ft-heart,
  .ft-mvv-hero-features li,
  .ft-mvv-panel,
  .ft-mvv-values-card {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
