/* Estilos para Página "Sobre el Proyecto" - Diseño pastel relajante */

:root {
  --bg: linear-gradient(135deg, #E3F2FD 0%, #F3E5F5 100%);
  --card: rgba(255, 255, 255, 0.95);
  --brand: #FF8A80;
  --brand-2: #81C784;
  --brand-3: #64B5F6;
  --brand-4: #BA68C8;
  --text: #37474F;
  --muted: #78909C;
  --border: rgba(255, 255, 255, 0.3);
  --shadow: rgba(0, 0, 0, 0.08);
  --shadow-hover: rgba(0, 0, 0, 0.12);
  --font-family: 'Poppins', 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 16px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header/Hero */
.hero {
  background: white;
  padding: 3rem 0;
  border-bottom: 1px solid #f0f0f0;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.breadcrumb a {
  color: var(--brand);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--brand-3);
}

.hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--brand);
  margin-bottom: 1rem;
  font-weight: 600;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.6;
}



/* Contenido Principal */
.main-content {
  padding: 4rem 0;
}

.content-article {
  max-width: 900px;
  margin: 0 auto;
}

.content-article section {
  margin-bottom: 4rem;
}

.content-article h2 {
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  position: relative;
}

.content-article h2::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 2px;
}

.content-article h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand-3);
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.content-article h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.content-article p {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.content-article strong {
  color: var(--brand-3);
  font-weight: 600;
}

/* Enlaces de Referencia */
.reference-links {
  background: linear-gradient(135deg, rgba(255, 138, 128, 0.1) 0%, rgba(129, 199, 132, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 2rem;
}

.reference-links a {
  display: block;
  color: var(--brand-3);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
  transition: var(--transition);
  border-bottom: 1px solid var(--border);
}

.reference-links a:last-child {
  border-bottom: none;
}

.reference-links a:hover {
  color: var(--brand);
  transform: translateX(5px);
}

/* Información de Ciclos */
.cycle-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.cycle-card {
  background: var(--card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 15px var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.cycle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px var(--shadow-hover);
}

.cycle-card h3 {
  color: var(--brand);
  margin-bottom: 1rem;
}

.cycle-card p {
  margin-bottom: 1.5rem;
}

/* Grid de Investigaciones */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.research-item {
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 15px var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.research-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-hover);
}

.research-item h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.research-item a {
  color: var(--brand-3);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.research-item a:hover {
  color: var(--brand);
  text-decoration: underline;
}

/* Sección de Misión */
.mission-section {
  background: linear-gradient(135deg, rgba(255, 138, 128, 0.1) 0%, rgba(129, 199, 132, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
}

.mission-section h2 {
  color: var(--brand);
  margin-bottom: 1.5rem;
}

.mission-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem auto;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: 0 4px 15px var(--shadow);
  border: 1px solid var(--border);
}

.cta-section h2 {
  color: var(--text);
  margin-bottom: 1rem;
}

.cta-section p {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: white;
  padding: 1.2rem 2.5rem;
  border-radius: var(--radius-lg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(255, 138, 128, 0.3);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 138, 128, 0.4);
}

/* Footer */
.footer {
  background: white;
  border-top: 1px solid #f0f0f0;
  padding: 3rem 0 1rem 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--text);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  color: var(--muted);
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--muted);
  text-decoration: none;
  transition: var(--transition);
}

.footer-section a:hover {
  color: var(--brand);
}

.footer-bottom {
  border-top: 1px solid #f0f0f0;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom p {
  color: var(--muted);
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.2rem;
  }
  
  .cycle-info {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .research-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .content-article h2 {
    font-size: 1.8rem;
  }
  
  .mission-section,
  .cta-section {
    padding: 2rem 1.5rem;
  }
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cycle-card,
.research-item {
  animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
  scroll-behavior: smooth;
}
