/* Reset básico */
/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  min-height: 100vh;
  background: linear-gradient(rgba(10,10,10,0.85), rgba(10,10,10,0.85)),
              url('img/CC.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #eee;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeInBg 2s ease forwards;
}

@keyframes fadeInBg {
  from { filter: brightness(0.6); }
  to { filter: brightness(1); }
}

/* HEADER */
.header-SuperColor {
  position: relative;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 30px crimson;
  padding: 10px 0 20px;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-bar {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  width: 100%;
}

.branding {
  display: flex;
  align-items: center;
  gap: 0px;
}

.logo-principe {
  width: 400px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
}
.logo-anios {
  width: 300px !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin-left: -20px;
}


@keyframes logoBounce {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.nav ul.menu {
  list-style: none;
  display: flex;
  gap: 25px;
  font-weight: 700;
  font-size: 1.1rem;
}

.nav ul.menu li {
  position: relative;
}

.nav ul.menu li a {
  color: #eee;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  transition: background 0.3s, color 0.3s;
  display: inline-block;
}

.nav ul.menu li a:hover {
  background: crimson;
  color: #fff;
}

.nav ul.menu li.dropdown:hover > ul.submenu {
  display: block;
}

.submenu {
  position: absolute;
  top: 38px;
  left: 0;
  background: #222;
  border-radius: 8px;
  display: none;
  min-width: 160px;
  box-shadow: 0 0 15px rgba(220, 20, 60, 0.7);
  z-index: 20;
}

.submenu li {
  padding: 10px;
}

.submenu li a {
  color: #eee;
  font-weight: 500;
}

.submenu li a:hover {
  color: crimson;
}

/* CONTENEDOR PRINCIPAL */
.container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  max-width: 1100px;
  margin: 60px auto 60px;
  background: rgba(20, 20, 20, 0.9);
  border-radius: 24px;
  padding: 40px 60px;
  box-shadow: 0 0 50px crimson;
  animation: fadeSlideIn 1.4s ease forwards;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* BOX DE INFO */
.box-info {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.box-info h1 {
  font-size: 3.2rem;
  font-weight: 900;
  letter-spacing: 5px;
  color: crimson;
  text-shadow: 0 0 15px crimson;
}

.data p {
  font-size: 1.1rem;
  letter-spacing: 1.2px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ddd;
  cursor: default;
  transition: color 0.3s ease;
}

.data p i {
  font-size: 26px;
  color: crimson;
  animation: pulseIcon 4s ease-in-out infinite;
}

.data p:hover {
  color: #ff416c;
}

.data p:hover i {
  color: #ff416c;
  transform: scale(1.2);
}

@keyframes pulseIcon {
  0%, 100% {
    color: crimson;
    text-shadow: 0 0 8px crimson;
  }
  50% {
    color: #ff416c;
    text-shadow: 0 0 18px #ff416c;
  }
}

/* REDES SOCIALES */
.links {
  display: flex;
  gap: 22px;
}

.links a {
  width: 48px;
  height: 48px;
  background: crimson;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 0 15px crimson;
  transition: background 0.4s, transform 0.3s, box-shadow 0.4s;
}

.links a:hover {
  background: #ff416c;
  box-shadow: 0 0 25px #ff416c;
  transform: scale(1.15) rotate(10deg);
}

/* FORMULARIO */
form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.input-box {
  position: relative;
  width: 100%;
}

.input-box input,
.input-box textarea {
  width: 100%;
  padding: 14px 50px 14px 15px;
  border-radius: 15px;
  border: 3px solid transparent;
  background: rgba(255 255 255 / 0.15);
  color: #eee;
  font-size: 1rem;
  letter-spacing: 1.2px;
  resize: none;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  box-shadow: inset 0 0 10px rgba(255,255,255,0.15);
}

.input-box input::placeholder,
.input-box textarea::placeholder {
  color: rgba(255 255 255 / 0.6);
  font-style: italic;
}

.input-box input:focus,
.input-box textarea:focus {
  outline: none;
  background: rgba(255 255 255 / 0.35);
  border-color: crimson;
  box-shadow: 0 0 12px crimson;
}

.input-box i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255 255 255 / 0.5);
  font-size: 20px;
  pointer-events: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.input-box input:focus + i,
.input-box textarea:focus + i {
  color: crimson;
  transform: translateY(-50%) scale(1.2);
}

/* BOTÓN */
button {
  background: crimson;
  color: #fff;
  border: none;
  border-radius: 15px;
  padding: 15px 0;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 2px;
  cursor: pointer;
  box-shadow: 0 0 20px crimson;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

button:hover {
  background: #ff416c;
  box-shadow: 0 0 30px #ff416c;
  transform: scale(1.05);
}

button:active {
  transform: scale(0.95);
  box-shadow: 0 0 15px #d5003a;
}

/* FOOTER */
.footer {
  width: 100%;
  background: rgba(0,0,0,0.8);
  padding: 40px 0;
  box-shadow: 0 -4px 30px rgba(220, 20, 60, 0.7);
  color: #ddd;
  font-size: 1rem;
}

.footer-box {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  gap: 40px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-qr {
  background: #111;
  padding: 25px 35px;
  border-radius: 18px;
  box-shadow: 0 0 20px crimson;
  text-align: center;
  color: crimson;
  flex: 1 1 200px;
}

.footer-qr h4 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-shadow: 0 0 8px crimson;
}

.qr-cool {
  filter: drop-shadow(0 0 4px crimson);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.qr-cool:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px #ff416c);
}

.footer-contact {
  flex: 2 1 400px;
}

.footer-contact h4 {
  font-size: 2rem;
  color: crimson;
  margin-bottom: 20px;
  letter-spacing: 2px;
  font-weight: 700;
  text-shadow: 0 0 10px crimson;
}

.footer-contact p {
  margin-bottom: 12px;
  line-height: 1.5;
  color: #ccc;
}

.redes-sociales {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

.redes-sociales a img {
  width: 40px;
  height: 40px;
  transition: filter 0.3s ease;
  filter: drop-shadow(0 0 5px crimson);
  border-radius: 10px;
}

.redes-sociales a img:hover {
  filter: drop-shadow(0 0 15px #ff416c);
  transform: scale(1.1);
}

/* RESPONSIVE */
@media (max-width: 1000px) {
  .container {
    grid-template-columns: 1fr;
    padding: 30px 40px;
    width: 95%;
  }

  .footer-box {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .footer-contact h4 {
    font-size: 1.7rem;
  }

  .footer-contact p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .box-info h1 {
    font-size: 2.4rem;
  }
  .nav ul.menu {
    flex-direction: column;
    gap: 12px;
  }
  .nav ul.menu li a {
    font-size: 1rem;
  }
  .branding {
    flex-direction: column;
    gap: 10px;
  }
  .logo-principe,
  .logo-anios {
    max-height: 50px;
  }
}

/* Responsive para pantallas pequeñas - móviles */
@media (max-width: 600px) {
  /* Container pasa a 1 columna */
  .container {
    grid-template-columns: 1fr !important;
    padding: 20px 25px !important;
    width: 95% !important;
  }

  /* Box info se centra y reduce tamaño del título */
  .box-info {
    align-items: center;
    text-align: center;
    gap: 30px !important;
  }

  .box-info h1 {
    font-size: 2.4rem !important;
    letter-spacing: 3px !important;
  }

  /* Datos con iconos se centran */
  .data p {
    justify-content: center;
    font-size: 1.1rem;
  }

  /* Redes sociales más grandes para touch */
  .links a {
    width: 50px !important;
    height: 50px !important;
    font-size: 24px !important;
  }

  /* Formulario: inputs más grandes y botones más grandes */
  form {
    gap: 20px !important;
  }

  .input-box input,
  .input-box textarea {
    font-size: 1.1rem !important;
    padding: 16px 50px 16px 15px !important;
    border-radius: 18px !important;
  }

  button {
    font-size: 1.3rem !important;
    padding: 18px 0 !important;
    border-radius: 18px !important;
  }

  /* Footer: Se apila verticalmente y centra */
  .footer-box {
    flex-direction: column !important;
    gap: 35px !important;
    text-align: center !important;
  }

  .footer-contact h4 {
    font-size: 1.6rem !important;
  }

  .footer-contact p {
    font-size: 1rem !important;
}