/* Smooth */
html {
  scroll-behavior: smooth;
}

/*Letras*/
@font-face {
  font-family: 'Lato';
  src: url('Font/Lato-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Alte';
  src: url('Font/AlteHaasGroteskRegular.ttf') format('truetype');
}

/* General */
body {
    margin: 0;
    font-family: 'Alte';
    color: whitesmoke;
    background-color: #161616;
    padding-top: 60px; 
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 30px;
  }
}

.hidden {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/*Banner*/

.banner {
  background: #161616;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding-inline: 50px;
}

.banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  font-size: 1.6rem;
  color: #ffffff;
}

.logo img {
  height: 32px;
  width: 32px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-links a {
  position: relative;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}


.divider {
  width: 1px;
  height: 24px;
  background: #ffffff55;
  margin-right: 10px;
}

.contact-button {
  background: whitesmoke;
  color: #161616;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}

.contact-button:hover {
  background: #0062a3;
  color: whitesmoke;
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Botón hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  display: block;
  border-radius: 3px;
  transition: 0.3s;
}

/* Menú móvil */
.mobile-menu {
  position: fixed;
  top: 60px;
  bottom: 60px;
  right: 0;
  background: #172030(0, 86, 179, 0.9);
  backdrop-filter: blur(5px);
  border-radius: 12px 0 0 12px;
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 1000;
  width: 50vw;
  max-width: 300px;
  min-width: 220px;
  justify-content: center;
  box-shadow: -8px 10px 25px rgba(0, 0, 0, 0.25);

}
  
.mobile-menu.show {
  transform: translateX(0);
}

.mobile-menu a {
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 6px;
  transition: all 0.2s ease;
}

.mobile-menu a:hover {
  padding-left: 6px;
  background-color: rgba(255, 255, 255, 0.05);
}

.mobile-menu .whatsapp-link {
  display: block;
  width: 100%;
  text-align: center;
  padding: 12px 20px;
  margin-top: 20px;
  background-color: #0062a3;
  color: white;
  border-radius: 25px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  text-decoration: none;
  border: none;
}

.mobile-menu .whatsapp-link:hover {
  background-color: #02d3a4;
}

.whatsapp-button-container{
  margin-right: 45px;
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .contact-button {
    display: none;
  }

  .banner {
    justify-content: center;
    margin-inline: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
  }
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 900;
}

.menu-overlay.show {
  display: block;
}

/*Hero*/

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  background-color: #161616;
  padding: 30px;
  padding-bottom: 100px;
}
.hero-content {
  margin-top: 30px;
  text-align: left;
  max-width: 1000px;
  padding-inline: 100px;
}

.intro {
  font-size: 20px;
  font-style: italic;
  color: whitesmoke;
}

.title {
  font-size: 80px;
  font-weight: 800;
  margin: 10px 0;
  line-height: 1.2;
  color: whitesmoke;
}

.highlight {
  color: #0dbb7c;
}

.description {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 20px;
  max-width: 900px;
  color: whitesmoke;
}

.cta {
  display: flex;
  align-items: center;
  margin-top: 25px;
  gap: 15px;
}

.btn.cta-contacto {
  background-color: #0dbb7c;
  padding: 10px 25px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}
.btn.cta-contacto:hover{
  background-color: #0062a3;
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.fb-icon {
  height: 30px;
  color: white;
  background-color: wheat;
  
}

.bi{
  padding-top: 5px;
  height: 30px;
  color: whitesmoke;
  transition: all 0.3s ease;
}
.bi:hover{
  padding-top: 5px;
  height: 30px;
  color: #0dbb7c;
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Tablets */
@media (max-width: 1024px) {
  .hero-content {
    padding-inline: 50px;
  }

  .title {
    font-size: 60px;
  }

  .description,
  .intro {
    font-size: 18px;
  }

  .cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
  }

  .btn.cta-contacto {
    font-size: 15px;
    padding: 10px 20px;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .hero {
  padding-bottom: 70px;
  }
  .hero-content {
    padding-inline: 10px;
    text-align: left;
  }

  .title {
    font-size: 42px;
    text-align: left;
  }

  .intro {
    font-size: 16px;
    text-align: left;
  }

  .description {
    font-size: 16px;
    text-align: justify;
  }

  .cta {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
  }

  .btn.cta-contacto {
    max-width: 280px;
    text-align: center;
  }

  .cta svg {
    width: 30px;
    height: 30px;
  }
}

/*Divisor*/
.marquee-container {
  overflow: hidden;
  background-color: #0062a3;
  color: white;
  font-family: "Alte", sans-serif;
  font-size: 2rem;
  font-weight: 500;
  padding: 10px 0;
  white-space: nowrap;
  position: relative;
}

.marquee {
  display: flex;
  animation: marquee 20s linear infinite;
}

.marquee-text {
  display: inline-block;
  padding-right: 50px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.dot {
  margin: 0 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media screen and (max-width: 600px) {
  .marquee-container {
    font-size: 1rem;
  }
  .dot {
    margin: 0 15px;
  }
}

/* Segundo Divisor */
.marquee-container2 {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0062a3;
  padding: 10px 0;
  font-size: 1.5rem;
  color: white;
  overflow: hidden;
  text-align: center;
}

.marquee-text2 {
  display: inline-block;
  white-space: nowrap;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  animation: glow 3s ease-in-out infinite;
}

.dot2 {
  display: inline-block;
  margin: 0 5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

@keyframes waveMotion {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-8px);
  }
  50% {
    transform: translateY(4px);
  }
  75% {
    transform: translateY(-4px);
  }
}

.wave {
  animation: waveMotion 2s infinite ease-in-out;
}

.wave1 {
  animation-delay: 0s;
}
.wave2 {
  animation-delay: 0.2s;
}
.wave3 {
  animation-delay: 0.4s;
}

@media screen and (max-width: 600px) {
  .marquee-container2 {
  font-size: 0.75rem;
}
}
/*Carrucel*/
.desktop-carousel {
  display: block;
}

.mobile-carousel {
  display: none;
}

@media (max-width: 768px) {
  .desktop-carousel {
    display: none;
  }

  .mobile-carousel {
    display: block;
  }
}

.carousel-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: fit-content;
}

.carousel-image {
  width: 100vw;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
}
/*Descripcion*/
.services-description {
  padding: 40px 20px;
  background-color: white;
}

.services-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.services-text {
  flex: 1 1 600px;
  text-align: left;
}

.services-text h2 {
  font-size: 2.4rem;
  color: #0056b3;
  margin-bottom: 20px;
}

.services-text .mega-p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #333;
}

.services-text .mini-p {
  font-size: 1rem;
  color: #0056b3;
  margin-top: 20px;
}

.services-image {
  flex: 1 1 300px;
  text-align: center;
}

.services-image img {
  max-width: 100%;
  height: auto;
}

/* Responsive para tablet y móvil */
@media screen and (max-width: 768px) {
  .services-container {
    display: block;
    padding: 0 15px;
  }

  .services-text {
    text-align: justify;
    padding-top: 20px;
  }

  .services-text h2 {
    font-size: 1.6rem;
    text-align: center;
  }

  .services-text .mega-p {
    font-size: 1.6rem;
  }

  .services-text .mini-p {
    font-size: 0.9rem;
    text-align: center;
  }

  .services-image {
    display: none;
  }

  .services-description {
    padding: 20px 10px;
  }
}

/* Mejora opcional para pantallas medianas */
@media screen and (max-width: 1024px) {
  .services-text h2 {
    font-size: 2rem;
  }

  .services-text .mega-p {
    font-size: 1.1rem;
  }
  .services-description{
    padding-bottom: 60px;
  }
}
/*Resultados*/
.benefits {
  padding: 50px 20px;
  background-color: #161616;
  color: white;
  font-family: 'Arial', sans-serif;
  text-align: center;
  padding-bottom: 100px;
}

.benefits h2 {
  font-size: 2.5rem;
}

.benefits .benefits-highlight {
  color: #0062a3;
  font-weight: bold;
}

.benefits .sub {
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding-bottom: 20px;
}

.card {
  margin-top: 80px;
  background-color: #222;
  padding: 30px 20px 20px;
  border-radius: 15px;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  position: relative;
}

.icon-container {
  background-color: #0062a3;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  position: absolute;
  top: -40px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.4);
  z-index: 2;
}

.rotating-icon {
  width: 40px;
  height: 40px;
  animation: rotate 20s linear infinite;
}

.card h3 {
  margin-top: 30px;
  font-size: 1.5rem;
}
.card p {
  margin-top: 10px;
  font-size: 1rem;
}

.cta-button {
  margin-top: 50px;
  background: white;
  color: black;
  padding: 15px 30px;
  font-size: 1.2rem;
  border-radius: 40px;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 15px #fff5;
  transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.cta-button:hover {
  transform: scale(1.05);
  color: whitesmoke;
  background-color: #0062a3;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
/*Planes*/
.plans {
    background: url("Media/Fondo.webp") no-repeat center center;
    background-size: cover;
    padding: 1px 20px;
    padding-bottom: 50px;
    padding-top: 70px;
}

.plan-cards {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.plan-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  width: 280px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}

.plan-card h3{
    color: #444;
}

.basic {
    border-top: 6px solid #3498db;
}

.full {
    border-top: 6px solid #00b894;
}

.price {
    font-size: 28px;
    margin: 20px 0;
    color: #00796b;
}

.btn-plan {
    background: #0056b3;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    margin-top: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.btn-plan:hover {
    background: #003d73;
}

.note {
    text-align: center;
    font-size: 14px;
    margin-top: 30px;
    color: #555;
}

.features {
  list-style: none;
  margin: 0;
  padding-left: 7%;
  font-size: 0.95rem;
  color: #444;
  display: flex;
  flex-direction: column;
  gap: 6px; 
}

.features li {
  display: flex;
  align-items: flex-start; 
  gap: 10px;
  line-height: 1.3; 
  text-align: left;
}


.features li span {
  color: #00b894;
  font-weight: bold;
  font-size: 1.1rem;
}

@media screen and (max-width: 600px) {
  .note {
    font-size: 12px;
}
}
/*Contacto*/
.contacto,
.texto,
.formulario {
  text-align: left;
}

.formulario input,
.formulario textarea,
.formulario button {
  font-family: inherit;
}

.contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
  padding-bottom: 70px;
}

.texto {
  flex: 1 1 400px;
  max-width: 500px;
}

.texto h2 {
  font-size: 2.8em;
  font-weight: bold;
  margin-bottom: 20px;
}

.texto p {
  font-size: 1.1em;
  color: #ccc;
  margin-bottom: 25px;
  line-height: 1.5em;
}

.azul {
  color: #0047AB;
}

.info p {
  margin-bottom: 20px;
}

.formulario {
  flex: 1 1 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 30px;
}

.formulario label {
  font-size: 0.95em;
  margin-bottom: 4px;
}

.formulario input,
.formulario textarea {
  width: 100%;
  padding: 15px;
  font-size: 1em;
  border-radius: 10px;
  border: none;
  background-color: #fff;
  color: #161616;
}

.formulario textarea {
  resize: vertical;
  min-height: 140px;
}

.formulario button {
  background-color: #0056b3;
  color: white;
  border: none;
  border-radius: 30px;
  padding: 14px 30px;
  font-size: 1em;
  cursor: pointer;
  align-self: flex-start;
  transition: background-color 0.3s ease;
}

.formulario button:hover {
  background-color: #0dbb7c;
}

#formStatus {
  font-weight: bold;
  font-size: 1rem;
  text-align: center;
  transition: opacity 0.3s ease;
}

/* Tablets */
@media (max-width: 1024px) {
  .texto h2 {
    font-size: 2.2em;
  }

  .contacto {
    gap: 30px;
  }

  .formulario button {
    width: auto;
  }
}

/* Móviles */
@media (max-width: 768px) {
  .texto h2 {
  text-align: center;
  }
  
  .contacto {
    flex-direction: column;
    align-items: stretch;
    gap: 40px;
    margin-inline: 30px;
    padding-top: 30px;

  }

  .texto h2 {
    font-size: 2em;
  }

  .formulario button {
    width: 100%;
    text-align: center;
  }

  .formulario input,
.formulario textarea {
  width: 90%;
}

  .formulario{
    padding-top: 10px;
  }

  
}
/*Footer*/
.footer-wrapper {
  width: 100%;
  background-color: #000;
  color: #eee;
  padding: 15px 0;
}

.footer {
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
  font-family: Arial, sans-serif;
  font-size: 0.9em;
  color: #eee;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 10px;
  margin-bottom: 6px;
}

.footer-logo {
  width: 30px;
  height: auto;
}

.footer-name {
  font-weight: bold;
  font-size: 1.2em;
  color: whitesmoke;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center; 
  gap: 10px;
  font-size: 0.85em;
}

.footer-link {
  color: whitesmoke;
  text-decoration: none;
  cursor: pointer;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-divider {
  width: 1px;
  height: 14px;
  background-color: white;
  display: inline-block;
  margin: 0 8px;
}
