body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #f52a85, #1fa9a5);
  color: white;
  text-align: center;
}

nav{
  display: flex;
  gap: 10px;
  position: absolute;
  top: 0;
  right: 50px;
  margin: auto;
  width: 30%;
  align-items: end;
  justify-content: space-between;
  height: 50px;
}
nav a{
  position: relative;
  text-decoration: none;
  font-size: 18px;
  font-weight: 300;
  color: white;
  text-shadow: 
  #000 1px 1px 1px, 
  /* #000 2px 2px 3px,  */
  #000 -1px -1px 1px;
  /* #000 -2px -2px 3px; */
}
nav a:hover::before{
  content: "";
  position: absolute;
  bottom: 0;
  background: white;
  width: 100%;
  height: 2px;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}
.hero .button {
  text-decoration: none;
  background: linear-gradient(
    270deg,
    #f52a85,
    #a71f1f,
    #ff6b6b,
    #f52a85
  );
  background-size: 400% 400%;
  color: white;
  cursor: pointer;
  width: 25%;
  font-weight: 400;
  padding: 15px 50px;
  position: absolute;
  border-radius: 50px;
  margin: auto;
  font-size: 18px;
  bottom: 80px;
  left: 0;
  right: 0;

  transition: transform 0.3s ease;
}
.services{
  display: grid;
  border-radius: 15px;
  margin: auto;
}

.services img{
  margin: auto;
}

/* Animación del degradado */
@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.hero .button:hover {
  transform: scale(1.15);
  animation: gradientMove 6s ease infinite;
  transition: transform 0.3s ease;

}
.logo {
  width: 200px;
  margin: auto;
}

.btn {
  background: white;
  color: #1fa9a5;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.carousel-container {
  position: relative;
  width: 80%;
  height: 600px;
  margin: auto;
  overflow: hidden;
  margin-bottom: 100px;
  border-radius: 15px;
  box-shadow: #484848b2 0px 10px 15px;
}

.carousel-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  height: 100%;
}

.carousel-track img {
  min-width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-track img.active {
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  /* background: #000; */
  color: #fff;
  border: none;
  font-size: 3rem;
  padding: 1px 12px;
  cursor: pointer;
  height: fit-content;
  width: fit-content;
  z-index: 10;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.contact-container{
  position: relative;
  width: 100%;
  height: 100%;
}

.mapa img{
  display: grid;
  margin: auto;
    border-radius: 15px;
  box-shadow: #484848b2 0px 10px 15px;
}
.contact img{
  width: 90%;
  object-fit: cover;
}

.contact form {
  position: relative;
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 40%;
  gap: 15px;
  color: #fff;
  padding: 100px 0;
}
.contact-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 90%;
  height: 80%;
  border: #ffffff31 1px solid;
  border-radius: 15px;
  margin: auto;
  /* box-shadow: #484848b2 0px 10px 15px; */
}
.contact form ::placeholder{
  color: #ffffff57;
}
input.error {
  border: 2px solid red;
}
.label{
  align-items: center; 
  display: flex;
}
.label a{
  text-decoration: none;
  color: rgb(246, 165, 165);
}
.label a:hover{
  text-decoration: underline;
}
.checkbox{
  outline: none; 
  width: 35px; 
  height: 35px;
}
#formMsg {
  font-size: 14px;
  margin-top: 5px;
}

.qr {
  width: 200px;
}

.form-section {
  background: white;
  color: #333;
  padding: 40px;
}

input{
  background: transparent;
  outline: #ffffff76 dashed 1px;
  color: white;
    height: 25px;
}

input, button {
  padding: 12px;
  border-radius: 8px;
  border: none;

}

button {
  background: linear-gradient(135deg, #f52a85, #1fa9a5);
  color: white;
  font-weight: bold;
  cursor: pointer;
}
footer{
  display: grid;
  background: white;
  padding: 50px 0 0 0;
  color: #000;
}

footer .footer-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  align-content: center;
  gap: 20px;
  margin: auto;
  width: 100%;
  padding: 0 0 50px 0;
}

footer .footer-flex img {
  width: 50%;
  margin: auto;
  object-fit: cover;
}

footer .copy {
  display: grid;
  padding: 10px 0;
  text-align: center;
  font-size: 14px;
  background: black;
  color: #fff;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
}

.modal-content {
  background: #fff;
  color: #000;
  width: 80%; 
  margin: 5% auto;
  padding: 25px;
  border-radius: 12px;
  position: relative;
  max-height: 80vh;
  overflow-y: auto;
  animation: fadeIn 0.3s ease;
}
.modal-body{
  text-align: left;
}
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 22px;
  cursor: pointer;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

.slider {
  overflow: hidden;
  position: relative;
}

.slides {
  display: flex;
  transition: transform 0.6s ease-in-out;
}