body {
  font-family: "Rubik", sans-serif;
  font-size: 1.1em;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

header {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.logo-container {
  flex: 0 0 auto;
}

.logo {
  height: 70px;
  width: auto;
}

.language-selector {
  display: flex;
  align-items: center;
  font-weight: bold;
  color: #333;
}

.language-selector .lang {
  text-decoration: none;
  color: #333;
  margin: 0 5px;
  font-size: 0.9rem;
}

.language-selector .lang:hover {
  color: #f68eca;
}

.language-selector .active-lang {
  color: #d71285;
}

.menu-toggle {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  margin: 0 15px;
}

nav a.active {
  color: #d71285;
}

nav a:hover {
  color: #f68eca;
}

.card {
  background: white;
  width: 100%;
  max-width: 900px;
  padding: 50px;
  padding-top: 0px;
  padding-bottom: 0px;
  border-radius: 8px;
  margin: 60px auto;
  text-align: left;
  box-sizing: border-box;
}

h1,
h2 {
  font-size: 36px;
  color: #d71285;
}

.subtexto {
  font-size: 24px;
  color: #190ee4;
  margin-top: 40px;
}

h4 {
  font-size: 20px;
  color: #190ee4;
  margin-top: 30px;
}

.text {
  font-size: 18px;
  line-height: 1.6;
  white-space: normal;
  margin-bottom: 20px;
  color: #190ee4;
}

.valoracion-form {
  max-width: 500px;
  width: 100%;
  margin: 60px auto;
  padding: 35px 20px;
  background-color: #fafafa;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-sizing: border-box;
}

.valoracion-form label {
  font-weight: 600;
  font-size: 0.95rem;
  color: #190ee4;
  text-align: left;
}

.valoracion-form input[type="text"],
.valoracion-form input[type="email"],
.valoracion-form input[type="number"] {
  padding: 12px 14px;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
  background-color: white;
  width: 100%;
  box-sizing: border-box;
}

.valoracion-form input:focus {
  outline: none;
  border-color: #d71285;
  box-shadow: 0 0 0 3px rgba(215, 18, 133, 0.15);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #555;
  flex-wrap: wrap;
}

.privacy-check input {
  margin-top: 3px;
}

.privacy-check a {
  color: #d71285;
  font-weight: 600;
}

.privacy-check a:hover {
  text-decoration: underline;
}

.valoracion-form button {
  margin-top: 10px;
  padding: 14px;
  font-size: 1rem;
  font-weight: bold;
  background-color: #d71285;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.valoracion-form button:hover {
  background-color: #f68eca;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(215, 18, 133, 0.3);
}

footer {
  background-color: #333;
  color: white;
  padding: 15px 20px;
}

.footer-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons {
  position: absolute;
  left: 20px;
  display: flex;
  gap: 15px;
}

.social-icons img {
  width: 20px;
  height: auto;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  z-index: 10000;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.cookie-buttons button {
  margin: 0 5px;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

#accept-cookies {
  background-color: #4caf50;
  font-family: "Rubik", sans-serif;
  color: white;
}

#accept-cookies:hover {
  background-color: #45a049;
}

#reject-cookies {
  background-color: #f44336;
  font-family: "Rubik", sans-serif;
  color: white;
}

#reject-cookies:hover {
  background-color: #da190b;
}

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 10001;
}

.cookie-modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  height: 80%;
  margin: 5% auto;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.cookie-modal iframe {
  width: 100%;
  height: 100%;
  border: none;
}

#close-cookie-modal {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    background-color: white;
    overflow: hidden;
    max-height: 0;
    transition: max-height 1s ease;
    border-top: 0px solid #ccc;
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0);
    z-index: 999;
  }

  nav a {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    text-align: center;
    margin: 0;
  }

  nav.active {
    max-height: 500px;
  }

  .card {
    padding: 20px;
  }

  .text {
    text-align: justify;
  }

  .footer-container {
    flex-direction: column;
    gap: 10px;
  }

  .social-icons {
    position: static;
    justify-content: center;
  }

  #cookie-banner {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 200px;
    background-color: #333;
    color: #fff;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 10000;
    text-align: center;
  }

  .cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
}