/* ═══════════════════════════════════════════════
   OÍR MÁS — Quiénes Somos Page Styles
   ═══════════════════════════════════════════════ */

/* ─── Hero ─── */
.about-hero {
  min-height: 45vh;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) 0;
  text-align: center;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.1;
  pointer-events: none;
}

.about-hero-bg svg {
  width: 150%;
  height: 150%;
  animation: slow-spin 60s linear infinite;
}

@keyframes slow-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.about-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.about-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  line-height: 1.2;
}

.about-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  padding-top: 25px;
}

/* ─── Section 1: Nuestra Historia ─── */
.history-section {
  padding: var(--space-5xl) 0;
  background: var(--color-surface);
  text-align: center;
}

.history-content {
  max-width: 800px;
  margin: 0 auto;
}

.history-content h2 {
  margin-bottom: var(--space-lg);
}

.history-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* ─── Section 2: El Equipo ─── */
.team-section {
  padding: var(--space-5xl) 0;
  background: var(--color-surface-alt);
}

.team-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  max-width: 1000px;
  margin: 0 auto;
}

.team-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  box-shadow: var(--shadow-md);
}

.avatar-am {
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary-dark) 100%);
}

.avatar-pm {
  background: linear-gradient(135deg, var(--color-text-light) 0%, var(--color-navy) 100%);
}

.team-card h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.team-role {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: var(--space-lg);
}

[data-theme="dark"] .team-role {
  color: var(--color-accent);
}

.team-desc {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  flex: 1;
}

.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* ─── Section 3: Nuestra Misión ─── */
.mission-section {
  padding: var(--space-5xl) 0;
  background: var(--color-navy);
  color: #fff;
  text-align: center;
}

.mission-section h2 {
  color: #fff;
  margin-bottom: var(--space-2xl);
}

.mission-quote {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-accent);
  max-width: 900px;
  margin: 0 auto var(--space-xl);
  position: relative;
}

.mission-quote::before,
.mission-quote::after {
  content: '"';
  color: rgba(255, 255, 255, 0.1);
  font-size: 5rem;
  position: absolute;
  line-height: 1;
}

.mission-quote::before {
  top: -20px;
  left: -40px;
}

.mission-quote::after {
  bottom: -40px;
  right: -20px;
}

.mission-text {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
}

/* ─── Section 4: Respaldo ─── */
.backing-section {
  padding: var(--space-5xl) 0;
  background: var(--color-surface);
  text-align: center;
}

.backing-content {
  max-width: 800px;
  margin: 0 auto;
}

.backing-content h2 {
  margin-bottom: var(--space-md);
}

.backing-content p {
  font-size: 1.05rem;
  color: var(--color-text-light);
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.backing-badge {
  display: inline-block;
  padding: var(--space-lg) var(--space-2xl);
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: var(--space-xl);
}

[data-theme="dark"] .backing-badge {
  background: var(--color-navy-mid);
  color: var(--color-accent);
}

/* ─── Section 5: Distintos ─── */
.distinct-section {
  padding: var(--space-5xl) 0;
  background: var(--color-surface-alt);
  position: relative;
  overflow: hidden;
}

.distinct-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.distinct-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  perspective: 1000px;
}

.distinct-item {
  position: relative;
  background: var(--color-surface);
  padding: var(--space-2xl) var(--space-xl);
  border-radius: 24px;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
  overflow: hidden;
  transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
  transform-style: preserve-3d;
  will-change: transform, box-shadow, border-color;
  cursor: pointer;
}

.distinct-item:hover {
  border-color: rgba(var(--item-color-rgb), 0.4);
  box-shadow: 0 20px 40px -15px rgba(0, 75, 135, 0.1);
}

.distinct-card-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

/* Brillo Flotante Radial */
.glow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 120px at var(--mouse-x, 0px) var(--mouse-y, 0px), rgba(var(--item-color-rgb), 0.08), transparent 80%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 1;
}

.distinct-item:hover .glow-overlay {
  opacity: 1;
}

/* Contenedor de Icono con Gradiente */
.distinct-icon-container {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(var(--item-color-rgb), 0.08);
  border: 1px solid rgba(var(--item-color-rgb), 0.2);
  color: var(--item-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-lg);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}

.distinct-item:hover .distinct-icon-container {
  background: var(--item-color);
  color: #ffffff;
  transform: scale(1.05);
}

.feature-svg {
  width: 28px;
  height: 28px;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
}

.distinct-item:hover .feature-svg {
  transform: scale(1.1) rotate(2deg);
}

.distinct-item h4 {
  margin-bottom: var(--space-sm);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-text);
  transition: color 0.3s ease;
  font-family: var(--font-heading);
}

.distinct-item:hover h4 {
  color: var(--item-color);
}

.distinct-item p {
  color: var(--color-text-light);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* Línea indicativa de color al hover */
.distinct-item-highlight {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--item-color) 0%, rgba(255, 255, 255, 0) 100%);
  border-radius: 3px 3px 0 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease-out;
  z-index: 10;
}

.distinct-item:hover .distinct-item-highlight {
  transform: scaleX(1);
}

/* Footer Decorativo del Showcase */
.showcase-footer {
  margin-top: var(--space-3xl);
  text-align: center;
}

.showcase-footer-text {
  font-size: 0.78rem;
  color: var(--color-text-light);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 75, 135, 0.04);
  padding: 8px 16px;
  border-radius: 99px;
  border: 1px solid rgba(0, 75, 135, 0.08);
}

.showcase-pulse-icon {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
  animation: pulse-icon 2s infinite;
}

@keyframes pulse-icon {
  0% { transform: scale(0.95); opacity: 0.6; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.6; }
}

/* ─── Section 6: Clientes ─── */
.clients-section {
  padding: var(--space-5xl) 0;
  background: var(--color-surface);
  text-align: center;
}

.clients-content {
  max-width: 700px;
  margin: 0 auto;
}

.clients-content h2 {
  margin-bottom: var(--space-md);
}

.clients-content p {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-2xl);
}

/* Responsive */
@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  
  .distinct-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .distinct-grid {
    grid-template-columns: 1fr;
  }
  
  .mission-quote {
    font-size: 1.5rem;
  }
}
