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

body, html {
  height: 100%;
  width: 100%;
  background-color: #ffffff;
  color: #000000;
  /* Usando 'Inter' que sí está importado en el HTML */
  font-family: 'Inter', sans-serif; 
}

/* --- ESTILOS COMPARTIDOS (Manifesto y Services) --- */

.header {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.back-button {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-button:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.logo-small {
  max-width: 150px;
  height: auto;
}

.content {
  max-width: 800px;
  margin: 0 auto;
  padding: 120px 2rem 2rem 2rem;
}

.manifesto-title, .services-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
}

.manifesto-section, .service-item {
  margin-bottom: 2.5rem;
}

.manifesto-section h3, .service-item h3 {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.5rem;
}

.manifesto-section p, .service-item p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 1rem;
}

.service-item {
  padding: 2rem;
  background-color: rgba(245, 245, 245, 0.8);
  border-radius: 15px;
}

.service-item ul {
  margin: 1rem 0 0.5rem;
  padding-left: 1.5rem;
  list-style-type: '— ';
}

.service-item li {
  font-size: 1rem;
  line-height: 1.6;
  color: #333333;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
}

/* --- ESTILOS PÁGINA INDEX --- */

.logo-section {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001; /* Debe estar por encima de las secciones */
}

.logo-section .title-logo {
  max-width: 200px;
  width: 100%;
  height: auto;
  display: block;
}

.top-nav {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001; /* Debe estar por encima de las secciones */
}

.top-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 1rem;
}

.top-nav a {
  color: #000000;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.top-nav a:hover {
  background-color: rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* --- NUEVOS ESTILOS PARA EL LAYOUT DE LA PÁGINA PRINCIPAL --- */

.hero-section {
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background-color: #ffffff;
  border-bottom: 1px solid #eaeaea;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -2px;
  color: #000000;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: #555555;
  font-weight: 400;
}

/* --- Estilos del Footer --- */
.main-footer {
  width: 100%;
  padding: 3rem 2rem;
  background-color: #f9f9f9;
  border-top: 1px solid #eaeaea;
  text-align: center;
}

.social-icons-footer {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-icons-footer a {
  color: #555555;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons-footer a:hover {
  color: #000000;
  transform: translateY(-3px);
}

.copyright-text {
  font-size: 0.9rem;
  color: #888888;
}

/* --- Media Queries (Responsividad) --- */

@media screen and (max-width: 768px) {
  .logo-section { max-width: 250px; top: 15px; left: 15px; }
  .logo-section .title-logo { max-width: 150px; }
  .top-nav { top: 15px; right: 15px; }
  .top-nav ul { gap: 0.8rem; }
  .top-nav a { font-size: 0.9rem; padding: 0.4rem 0.8rem; }
  
  .content { padding: 100px 1.5rem 1.5rem 1.5rem; }
  .manifesto-title, .services-title { font-size: 2.5rem; }
  .manifesto-section h3, .service-item h3 { font-size: 1.6rem; }
  .manifesto-section p, .service-item p { font-size: 1.1rem; }

  .hero-title { font-size: 2.8rem; }
  .hero-subtitle { font-size: 1rem; }
}

@media screen and (max-width: 480px) {
  .logo-section { max-width: 200px; top: 10px; left: 10px; }
  .logo-section .title-logo { max-width: 120px; }
  .top-nav { top: 10px; right: 10px; }
  .top-nav ul { gap: 0.6rem; }
  .top-nav a { font-size: 0.8rem; padding: 0.3rem 0.6rem; }
  
  .header { top: 15px; left: 15px; }
  .content { padding: 90px 1rem 1rem 1rem; }
  .manifesto-title, .services-title { font-size: 2rem; }
  .manifesto-section h3, .service-item h3 { font-size: 1.4rem; }
  .manifesto-section p, .service-item p, .service-item li { font-size: 1rem; }

  .hero-title { font-size: 2.2rem; }
}
