/* Base general */
body {
  background: linear-gradient(135deg, #1a1c20 0%, #2c5364 100%);
  color: #f5f7fa;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-attachment: fixed;
  min-height: 100vh;
}



/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(to right, #0f1115, #1a2734); /* más oscuro que antes */
  color: #f5f7fa;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #1e293b;
}


.logo-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1.5rem;
  color: #e2e8f0;
}

nav {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a,
.dropbtn {
  color: #f5f7fa;
  text-decoration: none;
  font-weight: 500;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  padding: 0.25rem 0;
  transition: color 0.2s ease-in-out;
}

nav a:hover,
.dropbtn:hover {
  color: #dadada;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(30, 41, 59, 0.95);
  color: #f1f5f9;
  min-width: 150px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  top: 100%;
  left: 0;
  z-index: 1000;
  flex-direction: column;
}

.dropdown-content a {
  display: block;
  padding: 0.5rem 1.25rem;
  color: #cbd5e1;
  font-weight: 400;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: rgba(100, 116, 139, 0.2);
  color: #dadada;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.menu-toggle {
  display: none;
  background: none;
  font-size: 1.5rem;
  color: white;
  border: none;
  cursor: pointer;
}


/* Hero Section */
.hero {
  min-height: 20vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  color: #dadada;
  background: linear-gradient(to right, #1e293b, #334155);
  font-weight: 600;
  border-radius: 0.75rem;
  max-width: 900px;
  margin: 2rem auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* Info Sections */
.info {
  display: flex;
  gap: 2rem;
  max-width: 900px;
  margin: 2rem auto;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #e2e8f0;
}

.info.reverse {
  flex-direction: row-reverse;
}

.info img {
  width: 45%;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

.info .text {
  width: 55%;
}

.info h2 {
  color: #f5f7fa;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.info p {
  font-size: 1.1rem;
  line-height: 1.5;
}

/* Valores Section */
.valores {
  max-width: 700px;
  margin: 3rem auto;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  color: #e2e8f0;
}

.valores h2 {
  text-align: center;
  color: #f5f7fa;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.valores ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.valores li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.4;
}

.valores strong {
  color: #a5b4fc;
}

/* Footer */
footer {
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #94a3b8;
  background: linear-gradient(to right, #0e141a, #1a2734); /* oscuro y elegante */
  user-select: none;
}

.site-footer {
  width: 100%;
  margin: 0;
  padding: 2rem 0;
  background: linear-gradient(to right, #0e141a, #1a2734); /* coherente con footer */
  color: white;
}


.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
  border-bottom: 1px solid #374151;
  padding-bottom: 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2.5rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-links h4 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-weight: 600;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 0.4rem;
}

.footer-links ul li a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links ul li a:hover {
  color: #dadada;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  color: #94a3b8;
  font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .info {
    flex-direction: column;
    text-align: center;
  }

  .info.reverse {
    flex-direction: column;
  }

  .info img,
  .info .text {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-top: 1rem;
  }

  nav.show {
    display: flex;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
  }
}



