#foot_root {
  font-family: 'Segoe UI', sans-serif;
  box-sizing: border-box;
}

#foot_root *,
#foot_root *::before,
#foot_root *::after {
  box-sizing: border-box;
}

#foot_root a {
  text-decoration: none;
}

#foot_root .foot_seccion_categorias {
  width: 100%;
  background: #000;
  overflow: hidden;
  text-align: center;
  padding-bottom: 40px;
  padding-top: 0;
  margin-top: 0;
}

#foot_root .foot_titulo_categorias,
#foot_root .foot_titulo_articulos,
#foot_root .foot_titulo_contacto {
  font-size: 2.5rem;
  color: white;
  background: orange;
  padding: 10px 20px;
  display: inline-block;
  border-radius: 8px;
  margin-bottom: 50px;
}

#foot_root .foot_aviso {
  color: #fbbf24;
  margin: 0 1rem 1rem;
}

#foot_root .foot_carrusel {
  display: flex;
  gap: 40px;
  animation: foot_scroll 30s linear infinite;
  width: max-content;
  will-change: transform;
}

#foot_root .foot_item_categoria {
  flex-shrink: 0;
}

#foot_root .foot_item_categoria img {
  height: 200px;
  width: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
}

#foot_root .foot_item_categoria:hover img {
  transform: scale(1.1);
}

#foot_root .foot_nombre_categoria {
  margin-top: 8px;
  color: white;
  background-color: orange;
  padding: 5px 8px;
  border-radius: 8px;
  font-weight: bold;
  font-size: 0.9rem;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
}

@keyframes foot_scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

#foot_root .foot_seccion_articulos {
  background: #fff;
  padding: 50px 20px;
  text-align: center;
}

#foot_root .foot_grid_articulos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

#foot_root .foot_card_articulo {
  width: 240px;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  text-decoration: none;
}

#foot_root .foot_card_articulo img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

#foot_root .foot_card_articulo .foot_titulo {
  color: white;
  background: orange;
  padding: 10px;
  font-weight: bold;
  font-size: 1.1rem;
}

#foot_root .foot_card_articulo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px orange;
}

#foot_root .foot_animar {
  display: inline-block;
  animation-duration: 1.2s;
  animation-fill-mode: both;
  opacity: 0;
}

#foot_root .foot_equipo {
  background: #fff;
  text-align: center;
  padding-bottom: 0.05px;
  margin-bottom: 0;
}

#foot_root .foot_titulo_equipo {
  background: orange;
  color: white;
  display: inline-block;
  padding: 10px 25px;
  font-size: 2rem;
  font-weight: bold;
  border-radius: 8px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

#foot_root .foot_equipo_contenedor {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

#foot_root .foot_card_equipo {
  background: #0f0f0f;
  color: white;
  border-radius: 12px;
  padding: 20px;
  max-width: 350px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s ease;
}

#foot_root .foot_card_equipo:hover {
  transform: scale(1.05);
}

#foot_root .foot_foto_equipo {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

#foot_root .foot_card_equipo h3 {
  margin: 10px 0;
  color: orange;
}

#foot_root .foot_card_equipo ul {
  text-align: left;
  padding-left: 20px;
  margin-bottom: 20px;
}

#foot_root .foot_card_equipo ul li {
  margin: 8px 0;
}

#foot_root .foot_btn_ver_mas,
#foot_root .foot_btn {
  background-color: orange;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

#foot_root .foot_btn_ver_mas:hover,
#foot_root .foot_btn:hover {
  background-color: #d97706;
}

#foot_root .foot_contacto {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 60px 20px 80px;
  text-align: center;
  margin-left: 2.5%;
  margin-right: 2.5%;
}

#foot_root .foot_subtitulo {
  color: #444;
  font-size: 1.2rem;
  margin-bottom: 40px;
  max-width: 600px;
}

#foot_root .foot_contacto_grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  width: 100%;
  max-width: 1000px;
}

@media (min-width: 768px) {
  #foot_root .foot_contacto_grid {
    flex-direction: row;
    justify-content: center;
    text-align: left;
  }
}

#foot_root .foot_contacto_info,
#foot_root .foot_form {
  width: 100%;
  max-width: 460px;
}

#foot_root .foot_contacto_info {
  font-size: 1.1rem;
  color: #222;
}

#foot_root .foot_contacto_info a {
  color: orange;
}

#foot_root .foot_form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#foot_root .foot_form input,
#foot_root .foot_form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

#foot_root .foot_honeypot,
#foot_root .foot_hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

#foot_root .foot_login {
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid #475569;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
  color: #f8fafc;
  max-width: 420px;
}

#foot_root .foot_login_extra a {
  color: #fbbf24;
}

#foot_root .foot_respuesta .foot_exito {
  color: #22c55e;
  margin-top: 1rem;
}

#foot_root .foot_respuesta .foot_error {
  color: #f87171;
  margin-top: 1rem;
}

#foot_root .foot_recaptcha_hint {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

#foot_root .foot_footer {
  background-color: #0f172a;
  color: white;
  padding: 50px 20px 30px;
  margin-top: 0;
  display: flow-root;
}

#foot_root .foot_container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

#foot_root .foot_col h3,
#foot_root .foot_logo {
  color: #ffa500;
  margin-bottom: 15px;
  font-weight: bold;
}

#foot_root .foot_logo {
  font-size: 1.5em;
  text-transform: uppercase;
}

#foot_root .foot_col p,
#foot_root .foot_col ul {
  font-size: 0.95em;
  line-height: 1.5;
}

#foot_root .foot_col ul {
  list-style: none;
  padding: 0;
}

#foot_root .foot_col ul li {
  margin: 8px 0;
}

#foot_root .foot_col ul li a {
  color: white;
  transition: color 0.3s;
}

#foot_root .foot_col ul li a:hover {
  color: #ffa500;
}

#foot_root .foot_social a {
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.3s;
}

#foot_root .foot_social a:hover {
  transform: scale(1.2);
}

#foot_root .foot_social img {
  background: #3b5998;
}

#foot_root .foot_social a:last-child img {
  background: green;
}

#foot_root .foot_bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.85em;
  border-top: 1px solid #334155;
  padding-top: 20px;
  color: #cbd5e1;
}

@keyframes foot_zoomIn { 0% { transform: scale(0); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes foot_slideDown { 0% { transform: translateY(-100px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes foot_rotateIn { 0% { transform: rotate(-360deg); opacity: 0; } 100% { transform: rotate(0); opacity: 1; } }
@keyframes foot_flipIn { 0% { transform: rotateY(90deg); opacity: 0; } 100% { transform: rotateY(0deg); opacity: 1; } }
@keyframes foot_fadeUp { from { transform: translateY(30px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
