/* Mastec Digital — about.html (Nosotros) specific styles */

.light-bg2 {
  background: linear-gradient(180deg, var(--paper) 0%, #fff5f7 100%);
}

/* Mission / Vision / Values */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mvv-card {
  position: relative;
  padding: 44px 32px 38px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.mvv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), #ff6b8a);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.mvv-card:hover {
  transform: translateY(-10px);
  border-color: rgba(251, 0, 68, 0.3);
  box-shadow: var(--shadow-lg);
}

.mvv-card:hover::before {
  transform: scaleX(1);
}

.mvv-card .icon {
  width: 68px;
  height: 68px;
  border-radius: 20px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 12px 26px rgba(251, 0, 68, 0.3);
}

.mvv-card h4 {
  font-size: 1.22rem;
  margin-bottom: 12px;
}

.mvv-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0;
}

/* About content */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.floating-badge {
  position: absolute;
  right: -18px;
  bottom: -22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
}

.floating-badge i {
  font-size: 1.6rem;
  color: var(--red);
}

.floating-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
}

.floating-badge span {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.about-content h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.about-content .intro {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-content ul {
  margin-bottom: 26px;
}

.about-content ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}

.about-content ul li i {
  color: var(--red);
  margin-top: 3px;
}

.about-video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-video .play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 18, 0.35);
}

.about-video .play-overlay .icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 0 0 0 rgba(251, 0, 68, 0.5);
  animation: pulse 2.2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(251, 0, 68, 0.5); }
  70% { box-shadow: 0 0 0 20px rgba(251, 0, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(251, 0, 68, 0); }
}

/* Why choose us — numbered pillars */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pillar-card {
  position: relative;
  padding: 40px 34px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 0, 68, 0.3);
  box-shadow: var(--shadow-lg);
}

.pillar-num {
  display: block;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.4rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(251, 0, 68, 0.35);
  margin-bottom: 16px;
}

.pillar-card h4 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.pillar-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

@media (max-width: 991px) {
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .about-content {
    grid-template-columns: 1fr;
  }
  .pillar-grid {
    grid-template-columns: 1fr;
  }
  .floating-badge {
    right: 12px;
    bottom: -18px;
    padding: 12px 16px;
  }
}

@media (max-width: 600px) {
  .floating-badge strong {
    font-size: 0.95rem;
  }
  .floating-badge span {
    font-size: 0.72rem;
  }
}
