
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300..700&display=swap');

p {
    font-family: 'Space Grotesk';
    font-weight: 400;
    font-size: 16px;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.6;
  color: #111;
  background-color: #fff;
  padding-bottom: 50px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 2px solid #ccc;
}

.logo {
  height: 40px;
}

.nav a {
  margin-left: 15px;
  text-decoration: none;
  color: #444;
  font-weight: 500;
}

.intro {
  padding: 40px 20px;
  text-align: center;
  max-width: 800px;
  margin: auto;
}

.intro h1 {
    font-size: 64px;
    font-weight: 600;
    line-height: 68px;
    font-family: "Space Grotesk";
    font-kerning: auto;
    letter-spacing: -0.06em;
}

.intro span {
  display: block;
}

li {
    display: flow;
}

.como-funciona {
  display: flex;
  justify-content: space-around;
  margin: 50px auto;
  max-width: 1000px;
  padding: 0 20px;
}

h3 {
    font-family: 'Space Grotesk';
    font-size: 32px;
    letter-spacing: -0.06em;
}

.como-funciona div {
  flex: 1;
  max-width: 50%;
  text-align: center;
}

.como-funciona img {
  height: 74px;
  margin-bottom: 10px;
}

.cta {
  text-align: center;
  margin: 30px;
}

.testimonios h2,
.benidorm h2 {
    margin-bottom: 40px;
    font-weight: 600;
    font-family: 'Space Grotesk';
    font-size: 32px;
    line-height: 20px;
    letter-spacing: -0.06em;  
}

.btn {
    background-color: #5d8eff;
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    font-family: 'Space Grotesk';
    font-size: 29px;
    font-weight: 400;
    text-spacing-trim: 2em;
    letter-spacing: -0.06em;  
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn {
  background-color: #0f62fe;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #0043ce;
}

.btn:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonios {
  padding: 50px 20px;
  text-align: center;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 250px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cards img {
    width: auto;
    height: 300px;
}

.card .sub {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 10px;
}

.benidorm {
  padding: 40px 20px;
  text-align: center;
}

.benidorm .galeria {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.benidorm img {
  width: 300px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.footer {
    text-align: center;
    padding: 10px;
    margin-top: 50px;
    font-size: 0.9em;
    color: #ffffff;
    background-color: #5B91FE;
}

#formularioEmail {
  margin-top: 20px;
}

#formularioEmail input {
  padding: 10px;
  font-size: 1rem;
  width: 250px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

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

.nav a {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.nav a.abono {
  color: #a179ff;
  border-color: #a179ff;
}
.nav a.abono:hover {
  background-color: #a179ff;
  color: white;
}

.nav a.low {
  color: #ff8c1a;
  border-color: #ff8c1a;
}
.nav a.low:hover {
  background-color: #ff8c1a;
  color: white;
}

.nav a.linkedin {
  color: #00c9b7;
  border-color: #00c9b7;
}
.nav a.linkedin:hover {
  background-color: #00c9b7;
  color: white;
}

.nav a.cartel {

  color: #f55151;
  border-color: #f55151;
}
.nav a.cartel:hover {
  background-color: #d83c3c;
    color: #fff;
}

form > div > div > div:nth-of-type(1) {
    display: none;
}

iframe {
  display: none;
  margin-top: 20px;
  opacity: 0;
  transition: opacity 0.6s ease;
  height: 0;
  pointer-events: none;
}

iframe.mostrar {
    display: inline-block;
    opacity: 1;
    height: 570px;
    pointer-events: auto;
    width: 450px;
}

.top-bar {
    height: 16px;
    width: 105%;
    background-color: #1ED6C4;
    position: fixed;
    margin: -10px !important;
}

/* HAMBURGUESA - SOLO EN MÓVIL */
.menu-toggle {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: #444;
}

@media (max-width: 767px) {
  .header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
  }

  .logo {
    height: 30px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav {
    display: flex
;
    gap: 7px;
}
.footer p {
    font-size: 10px;
}

  .nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 20px;
    flex-direction: column;
    background-color: white;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
  }

  .nav.nav-open {
    display: flex;
  }

  .nav a {
           font-size: 14px;
        margin: 0px 0;
        padding: 00px 11px;
        text-align: center;
  }

  .intro h1 {
    font-size: 36px;
    line-height: 42px;
  }

  .intro p {
    font-size: 16px;
    padding: 0 10px;
  }

  .como-funciona {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .como-funciona div {
    max-width: 100%;
    margin-bottom: 30px;
  }

  .como-funciona img {
    height: 64px;
  }

  .testimonios h2,
  .benidorm h2 {
    font-size: 24px;
    padding: 0 10px;
  }

  .cta {
    padding: 20px;
  }

  .btn {
    font-size: 18px;
    padding: 14px 30px;
    width: 100%;
    max-width: 320px;
    border-radius: 30px;
  }

  .benidorm .galeria {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .benidorm img {
    width: 90%;
    max-width: 300px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .cards img {
    height: auto;
    width: 90%;
    max-width: 300px;
  }

  .footer {
    width: 100%;
    bottom: 10px;
    left: -13px;
    font-size: 10px;
    background-color: #5B91FE;
    color: white;
    margin-left: -10px;
  }
}
