/* Variables */
:root {
  --primary: #0066cc;
  --secondary: #3498db;
  --light: #ffffff;
  --dark: #1311b8;
  --accent: #e5ff00;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f0f0f0;
  color: var(--primary);
  overflow-x: hidden;
}

span {
  display: flex;
  font-weight: bold;
  font-size: 1.5rem;
  margin-left: 50px ;
}

.logo {
  position: absolute;
  top: -10px;
  left: -20px;
  width: clamp(90px, 8vw, 120px);
  height: auto;
  transition: none;
  z-index: 50;
}

/* Header y navegación */
header {
  position: relative;
  width: 100vw;
  padding-block: clamp(0.35rem, 1.1vw, 0.7rem); /* top/bottom más pequeñas */
  padding-inline: clamp(0.6rem, 1.6vw, 1rem);  /* left/right */
  background-color: var(--primary);
  color: var(--light);
  box-shadow: 4px 4px 8px rgba(0, 47, 255, 0.178);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: clamp(0.75rem, 20vw, 2rem);
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--dark);
}

.nav-social {
  margin-right: 3%;
  display: flex;
  gap: 10px;
  align-items: center;
  position: relative;
}

.nav-social a {
  color: var(--light);
  font-size: 1.2rem;
  transition: color 0.2s;
  text-decoration: none;
}

.nav-social a:hover {
  color: var(--dark);
}

/* Popup WhatsApp */
.dropdown-content-contato {
  display: none;
  position: absolute;
  top: 100%;
  transform: translateX(-70%);
  background-color: var(--primary);
  color: var(--light);
  padding: 8px 12px;
  border-radius: 10px;
  box-shadow: 8px 8px 8px 10px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  z-index: 1000;
}

.dropdown-content-contato a {
  font-size: 15px;
  color: var(--light);
  display: block;
  margin: 4px 0;
}

.dropdown-contato:hover .dropdown-content-contato {
  display: block;
  cursor: default;
}

.contato {
  color: var(--light);
  font-size: 1.3rem;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
}

.dropdown-contato:hover .contato {
  color: var(--dark);
}

.nav-social a[aria-label="contato"]:hover+.dropdown-content-contato,
.dropdown-content-contato:hover {
  display: block;
  cursor: default;
}

.nav-social a[aria-label="contato"]:hover i {
  color: var(--dark);
  transition: color 0.3s;
}

.contenedor-principal {
  margin: 3.3rem auto 3.3rem auto;
  width: 80vw;
  box-sizing: border-box;
  gap: 1rem;
  padding: 2rem;
  background-color: var(--light);
  border-radius: 10px;
  box-shadow: 4px 4px 8px rgba(0, 47, 255, 0.178);
}

h1, h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: bolder;
  color: var(--primary);
}

.botones-mosaico, .botones-mosaico-sub {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 2vw;
  margin-bottom: 2vh;
}

.acordeon-btn {
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
}

.acordeon-btn.active,
.acordeon-btn:hover {
  background: var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.acordeon-content {
  display: none;
  animation: fadeIn 0.5s;
}

.acordeon-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px);}
  to { opacity: 1; transform: translateY(0);}
}

.lista-documentos {
  list-style: none;
}

.lista-documentos li {
  margin-bottom: 0.5rem;
  padding-left: 1.2rem;
  position: relative;
}

.lista-documentos li::before {
  content: "📄";
  position: absolute;
  left: 0;
}

.lista-documentos a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.lista-documentos a:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Footer */
#contacto-fijo {
  background: var(--primary);
  color: var(--light);
  width: 100%;
  display: flex;
  padding: 1rem;
  margin-bottom: 0%;
}

.footer-info {
  font-size: 1.2rem;
  margin: auto auto auto 5%;
}

#contacto-fijo iframe {
  width: 50%;
  margin: auto 5% auto auto;
}
