
:root {
    --color-azulOscuro: #0F376A;
    --color-boton: #E8F2FC;
    --color-white: #FFFFFF;
    --color-gris: #f5f7fa;
    --color-black: #000000;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    
}

a {
    text-decoration: none;
    color: inherit;
}


.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    z-index: 10000;
    background-color: var(--color-white);
    width: 100%;
}


.logo-img {
    height: 50px;
    width: auto;
}

.nav-links a {
    margin-left: 20px;
    color: var(--color-azulOscuro);
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bolder;
}
/* ==== CONTENEDOR PRINCIPAL ==== */
.legalContainer {
    margin: 140px auto 40px auto;
    max-width: 900px;
    width: 90%;
    background: var(--blanco);
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
    animation: fadeIn 0.8s ease;
}

/* === TITULOS === */
.legalContainer h1 {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 20px;
    color: var(--color-azulOscuro);
    font-weight: bold;
}

.legalContainer h2 {
    font-size: 1.4em;
    margin-top: 30px;
    margin-bottom: 10px;
    color: var(--color-azulOscuro);
    font-weight: bold;
}

/* === TEXTO === */
.legalContainer p,
.legalContainer li {
    font-size: 1.05em;
    line-height: 1.7em;
    color: var(--color-black);
    text-align: justify;
}

.legalContainer ul {
    padding-left: 20px;
    margin-top: 10px;
}

/* === BOTÓN VOLVER === */
.volver {
  display: block;
  width: fit-content;
  margin: 40px auto 0 auto;
  background: var(--color-azulOscuro);
  color: var(--color-white);
  padding: 12px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
  text-align: center;
}



/* footer */
.footer {
  background-color: var(--color-white);
  padding: 20px 50px;
  text-align: center;
  border-top: 1px solid #ddd;
}

.footer-links {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 60px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.links-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.links-group a {
  font-size: 0.9em;
  color: var(--color-azulOscuro);
  text-decoration: none;
  transition: color 0.3s ease;
}

.links-group a:hover {
  color: var(--color-azulOscuro);
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icon {
  width: 36px;
  height: 36px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.copyright {
  font-size: 0.8em;
  color: var(--color-azulOscuro);
}



/* ==== ANIMACIÓN ==== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==== RESPONSIVE ==== */
@media (max-width: 600px) {
  .legal-container {
    padding: 25px 20px;
  }
  .legal-container h1 {
    font-size: 1.8em;
  }
  .legal-container h2 {
    font-size: 1.2em;
  }
}
