/* Reset CSS */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
}

html {
  font-size: 62.5%; /* 16px = 10px (1rem) */
}

body {
  font-family: 'Poppins', sans-serif;
  background: #061639;
  font-size: 1.6rem;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

/* Lights */
.light-one {
  position: absolute;
  top: 0;
  height: 60rem;
  z-index: -1;
}

.light-two {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 60rem;
  z-index: -1;
}

.light-three {
  position: absolute;
  top: 20%;
  left: 50%;
  height: 60rem;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.light-four {
  position: absolute;
  top: 0%;
  left: 50%;
  height: 60rem;
  transform: translate(-50%, -50%);
  z-index: -2;
}

.light-five {
  position: absolute;
  bottom: 0%;
  left: 0%;
  height: 70rem;
  z-index: -1;
}

.light-six {
  position: absolute;
  bottom: 0%;
  left: 0%;
  height: 70rem;
  z-index: -1;
}

.light-seven {
  position: absolute;
  bottom: 0%;
  right: 0%;
  height: 70rem;
  z-index: -1;
}

.btn {
  border-radius: 100%;
  background: none;
  cursor: pointer;
  border: none;
  display: inline-block;
  border-radius: 20rem;
  padding: 1rem 3.5rem;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  font-weight: bold;
}

.btn-primary {
  background: linear-gradient(90deg, #304f90 0%, #4b76cf 100%);
  color: white;
}

.gradient-radial-text {
  background: linear-gradient(90deg, #4a75ce 0%, #80a9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.block {
  display: block;
}

.c-white {
  color: white;
}

.font-bolder {
  font-weight: bolder;
}

.font-200 {
  font-weight: 200;
}

.font-400 {
  font-weight: 400;
}

.font-700 {
  font-weight: 700;
}

.bg-hero {
  position: relative;
  background-image: url('../img/aniversario/hero.jpg');
  background-position: center center;
  background-size: cover;
  min-height: 100vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  color: white;

  & h1 {
    max-width: 46rem;
    font-size: 3.9rem;
    line-height: 1.3;
  }

  & p {
    max-width: 55rem;
    font-size: 2rem;
    margin: 2rem 0;
  }

  & button {
    font-size: 2rem;
  }
}

.hero-bottom {
  /* Desktop: normal document flow */
  display: block;
}

.relative {
  position: relative;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

/* Video section */
.video-section {
  max-width: 100rem;
  margin: 0 auto;
  padding-inline: 2rem;
  padding-bottom: 10rem;
}

.video-club {
  height: 50rem;
  border-radius: 2rem;
}

.video-section-content {
  text-align: center;
  margin-bottom: 3rem;

  & p {
    color: white;
    font-size: 2rem;
    margin: 3.5rem 0;
  }

  & button {
    font-size: 2rem;
    margin-bottom: 4rem;
  }
}

.video-section-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
}

.detail-card,
.video-section-detail-card {
  background: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  border-radius: 1.6rem;
  align-items: center;
  padding: 2.4rem;
  display: flex;
  gap: 1.8rem;
}

.icon {
  width: 8rem;
  height: 8rem;
}

.icon-responsive {
  display: none;
}

.detail-text {
  display: flex;
  flex-direction: column;

  & span {
    color: white;
  }
}

/* En el clubemprenya */
.clubemprenya-section {
  border-top-right-radius: 2rem;
  border-top-left-radius: 2rem;
  background: #000a20;
  padding: 5rem 0;
}

.clubemprenya-section-content {
  text-align: center;
  margin-bottom: 3rem;
  color: white;

  & > article > h2 {
    display: flex;
    align-items: end;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
  }

  & p {
    color: white;
    font-size: 2rem;
    margin: 1rem 0 5rem 0;
  }

  & button {
    font-size: 2rem;
    margin-bottom: 4rem;
  }
}

.clubemprenya-logo {
  width: 25rem;
}

.clubemprenya-subtitle {
  font-size: 3rem;
  margin-top: 6rem;
  line-height: 1.2;
}

.clubemprenya-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.8rem;
}

/* Segundo aniversario */
.aniversario-section {
  border-radius: 2rem;
  background: #000a20;
  padding: 5rem 0;
  color: white;
}

.aniversario-title {
  font-weight: 400;
  max-width: 55rem;
  margin: 0 auto;
  text-align: center;
  font-size: 2.8rem;
  line-height: 1.3;
}

.aniversario-section-content {
  text-align: center;
  margin-bottom: 3rem;
  color: white;

  & > article > h2 {
    display: flex;
    align-items: end;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
  }

  & p {
    color: white;
    font-size: 2rem;
    margin: 1rem 0 5rem 0;
  }

  & button {
    font-size: 2rem;
    margin-bottom: 4rem;
  }
}

.aniversario-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2.8rem;
}

.aniversario-features-wrapper {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3rem;
  margin-top: 4rem;
  padding: 2rem 3rem 5rem 3rem;

  & h2 {
    text-align: center;
    margin-bottom: 5rem;
  }
}

.aniversario-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 4rem;
}

.aniversario-feature-card {
  text-align: center;

  & h3 {
    margin: 1.5rem 0;
  }

  & img {
    width: 10rem;
    margin: 0 auto;
  }

  & p {
    max-width: 30rem;
    margin: 0 auto;
  }
}

.two-ways-section {
  padding: 5rem 0;
  color: white;
}

.two-ways-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 5rem;
  font-weight: 300;
}

.two-ways-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.two-ways-option {
  border: 1px solid #4b76cf;
  border-radius: 1.2rem;
  padding: 2rem 3rem;
}

.two-ways-option-title {
  font-size: 2rem;
  font-weight: 600;
}

.two-ways-option-subtitle {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.two-ways-feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 20px;
}

.two-ways-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.two-ways-footer-section {
  text-align: center;
}

.two-ways-footer-title {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
  gap: 1rem;
}

.two-ways-check-icon {
  width: 2rem;
  height: 2rem;
}

.two-ways-footer-text {
  font-size: 1.7rem;
  max-width: 47rem;
  margin: 0 auto;
  color: white;
}

.two-ways-image,
.two-ways-image-responsive {
  width: 80rem;
  margin: 7rem auto 3rem auto;
}

.two-ways-image-responsive {
  display: none;
}

/* Modal Styles */
.btn-wsp {
  display: block;
  background-color: #25d366;
  color: white;
  font-weight: 200;
  font-family: 'Poppins', sans-serif;
  padding: 1rem 3rem;
  font-size: 2rem;
  border: none;
  margin: 0 auto;
  border-radius: 200rem;
}

.modal-registrar {
  background-color: #0e1d3f;
  color: white;
  padding: 2rem 2rem;
  margin: auto;
  border-radius: 3rem;

  &::backdrop {
    backdrop-filter: blur(1rem);
  }
}

.modal-registrar-2 {
  display: none;
  position: fixed;
  z-index: 100;
  height: 100svh;
  width: 100%;
  backdrop-filter: blur(1rem);
  /* background-color: red; */

  div {
    background-color: #0e1d3f;
    color: white;
    padding: 2rem 2rem;
    border-radius: 3rem;
    max-width: 50rem;
    margin: 5rem auto 0 auto;
  }
}

.no-scroll {
  overflow: hidden;
}

.modal-input {
  display: block;
  width: 100%;
  background-color: transparent;
  border: #4b76cf 1px solid;
  color: white;
  padding: 1rem 2rem;
  border-radius: 1rem;
  margin-bottom: 2rem;
}

.modal-input::placeholder {
  color: white;
}

.modal-label {
  display: block;
  margin: 2rem;
  text-align: center;

  input {
    accent-color: #4b76cf;
  }
}

/* 768px */
@media (max-width: 48em) {
  .aniversario-details-grid,
  .two-ways-cards-section,
  .two-ways-options-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .video-club {
    height: 40rem;
    border-radius: 2rem;
  }

  .clubemprenya-details-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
  }
}

/* Hide overlay swiper on desktop (will be overridden in mobile) */
.hero-overlay-swiper {
  display: none;
}

/* 480px */
@media (max-width: 30em) {
  .clubemprenya-details-grid {
    grid-template-columns: 1fr;
  }

  .video-club {
    height: 25rem;
    border-radius: 2rem;
  }

  .icon-responsive {
    display: block;
  }

  .icon-desktop {
    display: none;
  }

  .bg-hero {
    background-image: url('../img/aniversario/hero-responsive.png');
    /* reducir tamaño del fondo y centrar para mostrar brazos */
    background-position: center center;
    background-size: 150% auto;
    background-repeat: no-repeat;
    background-origin: content-box;
    min-height: auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-height: auto;
    /* compactar un poco el padding superior para dejar más espacio al fondo */
    padding-block: 1.2rem 4rem;
  }

  .hero-content > h1 {
    font-size: 2.8rem;
    margin: 0 auto;
    max-width: 32rem;
  }

  .hero-bottom {
    margin-top: auto;
  }

  .hero-bottom p,
  .hero-bottom-text {
    font-size: 21px;
    line-height: 1.4;
    max-width: 100%;
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.95);
    /* margin: 0px 0 7rem 0; */
  }

  .hero-content button {
    font-size: 1.6rem;
    padding: 1.5rem 4rem;
  }

  /* Asegurar que el botón quede sobre posibles overlays y responda a toques */
  .openModalBtn {
    position: relative;
    z-index: 50;
    pointer-events: auto;
  }

  .two-ways-image {
    display: none;
  }

  .two-ways-image-responsive {
    display: block;
  }

  .video-section-detail-card {
    flex-direction: column;
    text-align: center;
    padding: 1.8rem 1rem;
  }

  /* Hero overlay swiper styles for mobile */
  .hero-overlay-swiper {
    display: block;
    /*position: absolute; 
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 400px;
    z-index: 10;
    pointer-events: auto; */
    width: 92%;
    max-width: 400px;
    margin-top: 2rem;
  }

  .hero-overlay-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
  }

  .aniversario-features-wrapper h2 {
    /* font-size: 2.8rem; */
    font-size: 43px;
    margin-bottom: 3rem;
    text-align: center;
  }
}

/* TOMAYA */
.bg-hero-tomaya {
  overflow: hidden;
}

.navbar-tomaya {
  padding: 4rem;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  flex-direction: column;

  @media (width > 400px) {
    align-items: center;
    flex-direction: row;
  }
}

.hero-container-tomaya {
  display: flex;
  flex-direction: column;
  row-gap: 5rem;
  align-items: flex-end;

  @media (width > 600px) {
    flex-direction: row;
  }
}

.hero-container-image {
  flex: 1;
  position: relative;
  margin-bottom: -5rem;

  @media (width > 900px) {
    margin-bottom: -10rem;
  }

  .linear {
    position: absolute;
    top: 0;
    z-index: -1;
    transform: scale(2);
  }
}

.hero-content-tomaya {
  flex: 1;
  color: white;
  padding-bottom: 5rem;

  @media (width > 900px) {
    padding-bottom: 10rem;
  }

  & h1 {
    max-width: 46rem;
    font-size: 3.9rem;
    line-height: 1.3;
  }

  & p {
    max-width: 55rem;
    font-size: 2rem;
    margin: 2rem 0;
  }

  & button {
    font-size: 2rem;
  }
}

.btn-tomaya {
  padding: 1rem 3rem !important;
  font-size: 1rem;
}

.clubemprenya-section-tomaya {
  .title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .subtitle {
    max-width: 80rem;
    margin: auto;
  }
}

.tomaya-details-grid {
  margin-top: 5rem;
  display: grid;
  gap: 2rem;

  @media (width > 400px) {
    grid-template-columns: repeat(2, 1fr);
  }

  @media (width > 600px) {
    grid-template-columns: repeat(3, 1fr);
  }

  @media (width > 960px) {
    grid-template-columns: repeat(5, 1fr);
  }
}

.detail-card-tomaya {
  display: block;

  h4 {
    font-size: 2rem;
  }

  .detail-text {
    font-size: 1.5rem;
    margin-bottom: 0;
  }

  .icon-tomaya {
    display: block;
    margin: auto;
    margin-bottom: 2rem;
    width: 8rem;
    height: 8rem;
  }
}

.footer-tomaya {
  padding: 10rem 0;
  position: relative;

  .linear1 {
    position: absolute;
    height: 90rem;
    bottom: 0;
  }

  .linear2 {
    position: absolute;
    height: 90rem;
    bottom: 0;
    right: 0;
  }

  hgroup {
    text-align: center;
    color: white;

    h3 {
      font-size: 4rem;

      margin-bottom: 3rem;

      @media (width > 500px) {
        font-size: 6rem;
      }

      span {
        display: block;
        color: #4b76cf;
      }
    }
  }
}

.form-tomaya {
  margin-top: 5rem;
  color: white;
  position: relative;

  /* 
  .linear-2 {
    position: absolute;
    height: 10rem;
  } */

  .btn {
    display: block;
    margin: 5rem auto 0 auto;
  }

  .box {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-direction: column;

    label {
      display: block;
      flex: 1;
    }

    @media (width > 500px) {
      flex-direction: row;
    }
  }

  span {
    display: block;
    margin-bottom: 1rem;
  }
}

.tomaya-input {
  display: block;
  background-color: #d9d9d91f;
  border: none;
  border-radius: 5rem;
  width: 100%;
  padding: 1rem 2rem;
  color: white;

  &::placeholder {
    color: white;
  }
}

.modal-tomaya {
  .tomaya-input {
    margin-bottom: 2rem;
  }
}

.modal-registrar-tomaya {
  & > div {
    background-color: #06183e;
    padding: 5rem;
  }

  .aniversario-title {
    font-size: 3.5rem;
    & > span {
      display: block;
    }
  }
}

.tomaya-gracias-content-image {
  position: relative;
  display: none;

  @media (width > 600px) {
    display: block;
  }

  .linear {
    position: absolute;
    bottom: 0;
    scale: 1.5;
    z-index: -1;
  }
}

.tomaya-gracias-content {
  display: flex;
  align-items: center;

  & > div {
    flex: 1;
  }

  h1 {
    font-size: 5rem;
    @media (width > 600px) {
      font-size: 7rem;
    }
  }

  .text {
    margin: 3rem 0;
  }
}

.gracias-form-tomaya {
  margin-top: 3rem;
}

/* viajaya */

.btn-viajaya {
  background-color: #62b7c6;
  color: white;
  font-weight: 700;
}

.body-viajaya {
  background-color: white;
}

.bg-hero-viajaya {
  text-align: center;
  background:
    linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), 40%, transparent),
    url(/img/viajaya/summer-mobile.png) center center / cover;

  @media (width > 500px) {
    text-align: start;

    background:
      linear-gradient(to bottom right, rgba(0, 0, 0, 0.3), 40%, transparent),
      url(/img/viajaya/summer.png) center center / cover;
  }

  padding-bottom: 10rem;
}

.navbar-viajaya {
  padding: 3rem 0;
  text-align: center;

  img {
    margin: 0 auto;
  }
}

.hero-content-viajaya {
  color: white;

  h1 {
    font-size: 4rem;
    font-style: italic;
    text-wrap: balance;
  }

  .hero-bottom-text {
    font-size: 1.5rem;
    margin-bottom: 4rem;
  }

    @media (width > 500px) {
    h1 {
      font-size: 5rem;
      max-width: 70rem;
    }

    .hero-bottom-text {
      font-size: 2rem;
      max-width: 70rem;
    }
  }
}

.aboutUs {
  padding-top: 5rem;
  padding-bottom: 5rem;

  hgroup {
    text-align: center;

    h2 {
      font-size: 4rem;
      font-style: italic;
      color: #62b7c6;
      margin-bottom: 1rem;
    }

    p {
      color: #5f5f5f;
    }
  }
}

.aboutUs-container {
  margin-top: 3rem;
  display: grid;
  gap: 4rem;

  @media (width > 800px) {
    grid-template-columns: repeat(2, 1fr);
  }
}

.aboutUs-box {
  display: flex;
  align-items: center;
  gap: 2rem;
  background-color: #62b7c644;
  padding: 2.5rem;
  border-radius: 1rem;
  color: #5f5f5f;

  flex-direction: column;

  @media (width > 450px) {
    flex-direction: row;
  }
}

.footer-viajaya {
  background-color: #62b7c6;
  padding-top: 15rem;
  margin-top: 5rem;

  hgroup {
    h3 {
      font-style: italic;

      span {
        font-style: normal;

        color: white;
        font-weight: 200;
      }
    }

    p {
      max-width: 60rem;
      margin: 0 auto;
      font-size: 2rem;
    }
  }
}

.btn-viajaya2 {
  background-color: white;
  color: #62b7c6;
}

.tipo-viajaya {
  header {
    padding-top: 10rem;
    background-color: #62b7c6;
    padding-bottom: 20rem;
  }
}

.title-box-viajaya {
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 2rem;
  text-align: center;

  h2 {
    text-wrap: balance;
    font-size: 3rem;

    @media (width > 700px) {
      font-size: 5rem;
    }
  }

  p {
    max-width: 65rem;
    font-size: 2rem;

    @media (width > 700px) {
      font-size: 2.5rem;

      padding-inline: 5rem;
    }
  }

  @media (width > 700px) {
    flex-direction: row;
    text-align: start;
  }
}

.tipo-viajes-viajaya {
  position: relative;
  z-index: 1;
  display: grid;

  gap: 2rem;
  max-width: 900px;
  margin: -15rem auto;

  grid-template-columns: repeat(1, 1fr);

  @media (width > 700px) {
    grid-template-columns: repeat(2, 1fr);
  }

  img {
    display: block;
    margin: 0 auto;
  }
}

.modal-registrar-viajaya {
  & > div {
    background-color: white !important;
    color: #62b7c6;
    border-radius: 1rem;

    @media (width > 500px) {
      padding: 5rem;
    }
  }

  .aniversario-title {
    font-size: 3.5rem;
    span {
      font-style: italic;
      display: block;
    }
  }
}

.viajaya-input {
  background: #62b7c659;
  color: #5f5f5f;

  &::placeholder {
    color: #5f5f5f;
  }
}

.viajaya-gracias-content {
  color: #5f5f5f;
  text-align: center;

  @media (width > 600px) {
    text-align: start;
  }

  h1 {
    color: #62b7c6;
    font-style: italic;
  }

  h2 {
    color: #62b7c6;
  }
}
