:root {
  --logo-size: clamp(140px, 22vw, 240px);
  --shadow-strong: 0 18px 40px rgba(0, 0, 0, 0.18);
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  overflow: hidden;
}

/* BACKGROUND Y TIPOGRAFÍA */
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at center,
    #ffffff 0%,
    #f5f5f5 40%,
    #d9d9d9 70%,
    #bfbfbf 100%
  );
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* LOGO */
.logo {
  width: var(--logo-size);
  height: var(--logo-size);
  filter: drop-shadow(var(--shadow-strong));
}
.logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* MENÚ */
.menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.menu button {
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  padding: 4px;
}

.menu button span {
  width: 24px;
  height: 2px;
  background: #111;
  transition: all 0.3s ease;
}

.menu.open button span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu.open button span:nth-child(2) {
  opacity: 0;
}
.menu.open button span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.menu-list {
  position: absolute;
  top: 45px;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  min-width: 160px;
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.menu.open .menu-list {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.menu-list li {
  padding: 0.5rem 1rem;
  text-align: left;
}

.menu-list li a {
  text-decoration: none;
  color: #111;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s ease, background 0.2s ease;
}

.menu-list li a:hover {
  color: #000;
}

/* ANIMACIÓN [+] */
.menu-list li a span.plus {
  display: inline-block;
  position: relative;
  font-weight: 700;
}
.menu-list li a span.plus::before,
.menu-list li a span.plus::after {
  content: '';
  position: absolute;
  top: 0;
  font-weight: 700;
  color: inherit;
}
.menu-list li a span.plus::before {
  content: '[';
  left: -5px;
  transition: transform 0.3s ease;
}
.menu-list li a span.plus::after {
  content: ']';
  right: -5px;
  transition: transform 0.3s ease;
}
.menu-list li a:hover span.plus::before {
  transform: translateX(-3px);
}
.menu-list li a:hover span.plus::after {
  transform: translateX(3px);
}

/* =========================
   FOOTER
   ========================= */
footer {
  position: fixed;
  bottom: 10px;
  left: 0;
  width: 100%;
  font-size: 10px;
  letter-spacing: 0.5px;
  color: rgba(0, 0, 0, 0.55);
  user-select: none;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap; /* En PC: una sola línea */
  gap: 8px;
}

.footer-text {
  white-space: nowrap;
}

.footer-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
}

footer a {
  display: inline-block;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

footer a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

footer a svg {
  width: 16px;
  height: 16px;
  fill: #000;
}

/* 📱 MÓVIL: texto arriba, íconos abajo centrados */
@media (max-width: 600px) {
  .footer-content {
    flex-wrap: wrap; /* Permite que los íconos bajen */
  }

  .footer-text {
    width: 100%;
    text-align: center;
    margin-bottom: 4px;
  }

  .footer-icons {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }
}
