@font-face {
  font-family: "UbuntuBold";
  src: url("../fonts/Ubuntu-B.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "UbuntuReg";
  src: url("../fonts/Ubuntu-R.ttf") format("truetype");
  font-style: normal;
}

@font-face {
  font-family: "LoraVariable";
  src: url("../fonts/Lora-VariableFont_wght.ttf") format("truetype");
  font-style: normal;
}

.banner {
  background: #c4161c;
  color: white;
  font-family: "Pacifico", cursive;
  font-size: 40px;
  padding: 30px 60px;
  text-align: center;

  border-bottom-left-radius: 80% 40px;
  border-bottom-right-radius: 80% 40px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  color: #1a1d56;
}

body {
  color: #333;
  background: #eaf6fe;
}

/* Contenedor principal de toda la web */
.wrapper {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  overflow-x: hidden;
}

.top-menu {
  background: #202255;
  width: 100%;
  display: flex;
  justify-content: center;
}

.menu {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  width: 80%;
  height: 96px;
  max-width: 1400px;
}

.menu li {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 15px;
  text-align: center;
}

.menu li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 22px;
}

.menu li img {
  max-width: 200px;
  position: relative;
  top: 64px;
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  margin-bottom: 3%;
  z-index: -1;
}

.img-header {
  height: 950px;
  overflow: hidden;
  width: 100%;
}

.img-header img {
  width: 100%;
  object-fit: cover;
  object-position: bottom;
  height: 100%;
}

.img-mobile {
  display: none;
}

.content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  font-size: 20px;
  position: relative;
  z-index: 3;
  margin: 0 auto;
  max-width: 70dvw;
}

.content h1 {
  font-family: "LoraVariable", sans-serif;
  font-size: 90px;
  margin-bottom: 3%;
}

.content h1 a {
  color: #1a1d56;
  font-family: "LoraVariable", sans-serif;
}

.content h1 a:visited {
  color: #1a1d56;
  font-family: "LoraVariable", sans-serif;
}

.content .verlosen {
  margin-top: 10%;
  position: relative;
}
.content .verlosen h2 {
  font-family: "LoraVariable", sans-serif;
  font-size: 70px;
}

.content .verlosen img:nth-child(1) {
  position: absolute;
  top: -790px;
  left: -720px;
  z-index: -1;
}

.content .verlosen img:last-child {
  position: absolute;
  top: -450px;
  right: -1100px;
}

.content p {
  font-family: "UbuntuReg", sans-serif !important;
  font-size: 28px;
}

.content .btn {
  text-decoration: none;
  color: white;
  background-color: #202255;
  padding: 15px 40px;
  border-radius: 50%;
  font-weight: bold;
  transition: transform 0.3s ease;
  display: inline-block;
}

.content .btn:hover {
  transform: scale(1.05);
}

.bottom-banner {
  display: flex;
}

.banner-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  font-size: 20px;
  padding: 50px 0;
  position: relative;
}

.banner-text h2 {
  font-size: 70px;
  text-align: center;
  font-family: "LoraVariable", sans-serif;
}

.banner-text span {
  margin-top: 30px;
  font-size: 70px;
  text-align: center;
  font-family: "LoraVariable", sans-serif;
  font-weight: bold;
}

.banner-text ol {
  font-size: 28px;
  text-align: left;
  font-family: "UbuntuReg", sans-serif !important;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.banner-imgs {
  position: relative;
  top: -150px;
}

.banner-imgs-left img {
  position: relative;
  left: -250px;
}

.banner-imgs-right img {
  position: relative;
  top: -40px;
}

.banner-imgs img:nth-child(2) {
  max-width: 300px;
  position: absolute;
  top: 81px;
  left: 145px;
  z-index: 2;
}

.img-separator {
  display: flex;
  justify-content: center;
  background-image: url("../img/Ramas.png");
  height: 1400px;
}

.img-separator .gallery {
  max-width: 60%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.item {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.item img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  object-position: center;
  transition: 0.4s ease;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: 0.4s ease;
  text-align: center;
  clip-path: inset(0 round 16px);
}

.overlay span {
  background: rgba(255, 255, 255, 0.8);
  padding: 10px 20px;
  border-radius: 12px;
  font-weight: 600;
}

/* Hover */
.item:hover img {
  transform: scale(1.05);
}

.item:hover .overlay {
  opacity: 1;
}

footer {
  background-color: #1a1d56;
  display: flex;
  justify-content: space-evenly;
  padding: 50px 0;
  color: #ffffff;
  align-items: center;
}

footer .column span img {
  width: 100%;
}

footer li {
  list-style: none;
  margin-top: 10px;
  font-size: 15px;
}

footer a {
  text-decoration: none;
  color: white;
}

footer a:visited {
  text-decoration: none;
  color: white;
}

footer .column .email {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

footer .column .email p {
  color: white;
}

footer .column .rrss {
  margin-top: 30px;
}

footer .column .rrss ul {
  display: flex;
  width: 100%;
  justify-content: space-between;
  list-style: none;
}

footer .column .rrss ul li {
  display: inline-block;
  width: 35px;
}

footer .column .rrss img {
  max-width: 35px;
  filter: invert();
  display: block;
}

.img-separator-mobile {
  display: none;
}

/* Formulario */

.form {
  height: 700px;
  margin: 100px 0;
  display: flex;
  position: relative;
}

.imgs-form {
  display: none;
}

.typeform {
  width: 100%;
}

.form .column {
  flex: 1;
}

.form .column:nth-child(2) {
  flex: 2;
  border: 1px solid #1a1d56;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 50px;
}

.form .column:nth-child(2) h2 {
  font-size: 30px;
  font-family: "LoraVariable", sans-serif;
}

.form .column:nth-child(1) img:nth-child(1) {
  position: absolute;
  bottom: -300px;
}

.form .column:nth-child(1) img:nth-child(2) {
  bottom: -350px;
  position: relative;
  left: 250px;
}

.form .column img {
  height: auto;
  display: block;
}

.form .column-right img:nth-child(1) {
  position: absolute;
  top: -300px;
}

.form .column-right img:nth-child(2) {
  position: absolute;
  bottom: -300px;
  right: 0;
  z-index: -5;
}

.artikel-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}

.artikel-icons span {
  font-size: 20px;
  font-family: "UbuntuBold", sans-serif;
  margin-right: 40px;
}

.artikel-icons ul li {
  display: inline-block;
  width: 35px;
}

.artikel-icons svg {
  max-width: 30px;
  fill: #1a1d56;
  display: block;
  font-size: 10px;
}

.menu-mobile-bar {
  display: none;
  width: 100%;
  padding: 15px 20px;
  justify-content: space-between;
  align-items: center;
}

.logo-mobile {
  max-width: 150px;
}

.hamburger {
  width: 32px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  height: 3px;
  background: white;
  width: 100%;
  display: block;
}

/* Media Queries*/

@media (max-width: 1919px) and (min-width: 1368px) {
  .menu {
    width: 90%;
  }

  .img-header {
    height: 820px;
  }

  .content h1 {
    max-width: 70vw;
  }

  .content p {
    font-family: "UbuntuReg", sans-serif !important;
  }

  .img-content .img-not-mobile {
    max-width: 100%;
  }

  .img-content .img-mobile {
    display: none;
  }

  .item {
    padding: 0;
  }

  .item img {
    height: 100%;
  }

  .banner-imgs-right,
  .banner-imgs-left {
    width: 20%;
  }

  .form .column:nth-child(1) img:nth-child(1) {
    left: -120px;
  }

  .banner-text h2,
  .banner-text span {
    width: 70%;
  }
}

@media (max-width: 1367px) and (min-width: 972px) {
  .menu {
    width: 95%;
  }

  .img-header {
    height: 680px;
  }

  .content h1 {
    max-width: 65vw;
    font-size: 70px;
  }

  .imgs-content {
    top: 75px;
  }

  .img-content img {
    max-width: 100%;
  }

  .img-separator .gallery {
    max-width: 70%;
  }

  .content .verlosen img:last-child {
    right: -925px;
  }

  .banner-imgs-right,
  .banner-imgs-left {
    width: 20%;
  }

  .banner-text {
    padding: 40px 20px;
  }

  .banner-text h2,
  .banner-text span {
    width: 85%;
  }

  .item {
    padding: 0;
  }

  .item img {
    height: 100%;
  }

  .form .column:nth-child(1) img:nth-child(1) {
    left: -170px;
  }

  .form .column:nth-child(3) img:nth-child(2) {
    right: -85px;
  }
}

@media (max-width: 972px) {
  body {
    overflow-x: hidden;
  }

  .content,
  .bottom-banner,
  .form,
  footer {
    width: 100%;
  }

  .img-separator-mobile {
    display: block;
  }
  .content {
    padding: 0;
  }

  .hero {
    z-index: 1;
  }

  .img-header {
    height: 300px;
  }

  .content .btn {
    padding: 10px 30px;
  }

  .content h1 {
    max-width: 100%;
    font-size: 25px;
  }

  .content p {
    max-width: 100%;
    font-size: 14px;
  }

  .verlosen {
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .content .verlosen img:nth-child(1),
  .content .verlosen img:last-child {
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    height: 200px;
  }

  .content .verlosen img:nth-child(1) {
    left: 0;
  }

  .content .verlosen img:last-child {
    right: -140px;
  }

  .verlosen .contenido {
    text-align: center;
  }

  .imgs-content {
    transform: none;
    position: relative;
    display: inline-block;
    z-index: 1;
  }

  .img-content .img-mobile {
    display: block;
    max-width: 100dvw;
    height: auto;
  }

  .img-content .img-not-mobile {
    display: none;
  }

  .content .verlosen h2 {
    font-size: 35px;
  }

  .banner-imgs-right,
  .banner-imgs-left {
    display: none;
  }

  .bottom-banner {
    flex-direction: column;
  }

  .banner-text {
    width: 100%;
    padding: 40px 50px;
  }

  .banner-imgs {
    display: none;
  }

  .img-separator {
    height: unset;
  }

  .img-separator .gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: unset;
  }

  .item {
    width: 45%;
  }

  .item:last-child {
    width: 45%;
  }

  .banner-text h2,
  .banner-text span,
  .banner-text ol {
    width: 100%;
    font-size: 25px;
  }

  .banner-text li {
    font-size: 14px;
  }

  .form {
    position: relative;
    flex-direction: column;
    gap: 40px;
    padding: 0 50px;
  }

  .form .column:nth-child(2) {
    position: relative;
    padding: 20px;
  }

  .imgs-form img:first-child {
    position: absolute;
    top: 0;
    left: -70px;
    max-width: 80px;
    height: auto;
  }

  .imgs-form img:last-child {
    position: absolute;
    bottom: -25px;
    right: -50px;
    max-width: 80px;
    height: auto;
    z-index: 2;
  }

  .imgs-form {
    display: block;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .form .column:nth-child(1) {
    display: none;
  }

  .form .column:nth-child(3) {
    display: none;
  }

  footer {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  footer .column .email {
    align-items: center;
  }

  .menu {
    display: none;
  }

  /* Barra de mobile */
  .menu-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #202255;
    padding: 15px 20px;
    position: relative;
    height: 80px;
    z-index: 1000;
  }

  .logo-mobile {
    max-width: 150px;
  }

  .hamburger {
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .hamburger span {
    height: 3px;
    background: white;
    width: 100%;
    display: block;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Menú overlay */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: rgba(32, 34, 85, 0.95);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: height 0.4s ease;
    z-index: 999;
  }

  .mobile-menu ul {
    list-style: none;
    text-align: center;
    padding: 0;
  }

  .mobile-menu ul li {
    margin: 20px 0;
  }

  .mobile-menu ul li a {
    text-decoration: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    transition: color 0.2s;
  }

  .mobile-menu.open {
    height: 100vh;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .logo-mobile {
    position: relative;
    left: 50%;
    transform: translate(-50%, 22%);
  }

  .tf-v1-widget-fullscreen .tf-v1-widget-close {
    filter: invert(1) !important;
  }

  .menu-mobile-bar-fixed {
    position: fixed;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #32323a;
  display: none;
  z-index: 9999;
  padding: 30px;
}
.cookie-banner p {
  color: #fff;
  margin: 0 15px 0 0;
  display: inline-block;
}
.cookie-banner p a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
.cookie-banner button {
  background: #002862;
  color: #fff;
  padding: 20px 20px;
  font-family: "LoraVariable", sans-serif;
  border: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  border-radius: 10px;
  width: 160px;
}

.cookie-banner .buttons-cookie {
  display: flex;
  gap: 40px;
  margin-top: 20px;
  justify-content: right;
}

#typeform-container {
  width: 100%;
}
#politica-cookies {
  display: none;
  position: fixed;
  top: 5%;
  left: 5%;
  right: 5%;
  background: #fff;
  color: #000;
  overflow: auto;
  padding: 40px;
  z-index: 10000;
  border: 1px solid #ccc;
  border-radius: 10px;
  max-height: 90vh;
}
#politica-cookies h2 {
  margin-bottom: 10px;
}
#politica-cookies h3 {
  margin: 20px 0 6px 0;
}
#politica-cookies h4 {
  margin: 6px 0;
}
#politica-cookies ul {
  margin: 10px 40px 20px 40px;
}
#politica-cookies button {
  position: absolute;
  right: 30px;
  top: 20px;
  border: none;
  background: transparent;
  font-size: 28px;
}
