/* Base */
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;
}

.container {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  color: #e2e8f0;
  max-width: 1200px;
  margin: 3rem auto;
  padding: 2rem;
  border-radius: 16px;
  box-shadow:
    0 8px 32px 0 rgba(0, 0, 0, 0.5),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all 0.3s ease;
}

.container:hover {
  box-shadow:
    0 12px 48px 0 rgba(0, 0, 0, 0.6),
    inset 0 0 15px rgba(255, 255, 255, 0.1);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: linear-gradient(to right, #0f1115, #1a2734);
  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;
}

/* Contact Section */
.contact {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 700px;
  margin: 0 auto;
  color: #f5f7fa;
}

.contact h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #e2e8f0;
}

.contact p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #cbd5e1;
}

.form-wrapper {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.form-wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-sizing: border-box;
}

.form-wrapper label {
  font-weight: 600;
  color: #e2e8f0;
}


.form-wrapper input,
.form-wrapper select,
.form-wrapper textarea {
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  background-color: rgba(49, 49, 55, 0.05);
  color: #f1f5f9;
  font-size: 1rem;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border 0.2s ease;
  appearance: none; /* para eliminar estilos nativos y facilitar personalización */
  border-color: #5a6a83;
}

.form-wrapper select option {
  background-color: #2d3d45; /* fondo oscuro para las opciones */
  color: #f1f5f9;            /* texto claro */
}

.form-wrapper input:focus,
.form-wrapper select:focus,
.form-wrapper textarea:focus {
  border-color: #adb4c0;
}


.form-wrapper button {
  background: linear-gradient(90deg, #2563eb, #3b82f6);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.form-wrapper button:hover {
  background: linear-gradient(90deg, #1d4ed8, #2563eb);
}

.hidden {
  display: none;
}

/* Responsive */
@media (max-width: 768px) {
  .contact {
    padding: 1.5rem;
    margin: 1rem;
  }

  .contact h2 {
    font-size: 1.75rem;
  }

  .form-wrapper button {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 1rem;
    margin: 0.5rem;
  }

  .contact h2 {
    font-size: 1.5rem;
  }

  .contact p {
    font-size: 1rem;
  }

  .form-wrapper input,
  .form-wrapper select,
  .form-wrapper textarea {
    font-size: 0.95rem;
  }

  .form-wrapper button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
  }
}

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

.site-footer {
  width: 100%;
  margin: 0;
  padding: 2rem 0;
  background: linear-gradient(to right, #0e141a, #1a2734);
  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;
}
