@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,500;1,400&display=swap');

:root {
  --c-brand: #3e3bfb;
  --c-dark: #000000;
  --c-body: #666;
  --c-light: #f8f8f8;
  --f-base: "Plus Jakarta Sans", sans-serif;
  --n-height: 100px;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: var(--f-base);
  line-height: 1.8;
  color: var(--c-body);
  background-color: #ffffff;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}


/* Barra azul superior */
.top-bar {
    background-color: #0a1b4f;
    color: white;
    font-size: 14px;
    padding: 8px 0;
  }
  
  .top-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
  }
  
  .left-info span {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
  }
  
  .left-info i {
    margin-right: 5px;
  }
  
  .right-icons a {
    color: white;
    margin-left: 15px;
    font-size: 16px;
  }
  
/* Navbar */

.nav-links a {
  font-size: 18px;
  color: #0056b3;
  text-decoration: none;
  transition: font-size 0.3s ease,color 0.3s ease;
  display: inline-block; 
}

.nav-links a:hover {
  font-size: 22px;
  color: #007bff;
}
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgb(255, 255, 255);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 24px;
}


.nav-links {
  display: flex;
  gap: 44px;
}

.nav-links li {
  list-style: none;
}

.nav-links li a {
  color:#036DAC;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: var(--c-brand);
}

/* Hamburguesa oculta en PC */
.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 34px;
  height: 3px;
  background-color: #036DAC; 
  margin: 6px auto;
  transition: all 0.4s ease;
}


@media (max-width: 768px) {
  .nav-links {
    display: none; 
    flex-direction: column;
    position: absolute;
    top: 80px;   
    right: 0;
    background-color: #fff; 
    width: 200px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border-radius: 0 0 10px 10px;
  }

  .nav-links.show {
    display: flex; 
  }

  .hamburger {
    display: block; 
  }
}


/* HERO SECTION */
#hero {
  min-height: 100vh;
  background-image: linear-gradient(120deg, rgba(65, 62, 62, 0.7) 0%, rgba(65, 62, 62, 0.219) 100%);
  background-position: center;
  background-size: cover;
  display: grid;
  place-content: center;
  text-align: center;
}

.hero-content {
  color: white;
  padding: 3rem 1rem;
}


#inicio {
  position: relative;
  height: 100vh;
  background-image: url('imagenes/fondo_0.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-content {
  color: white;
  text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
  z-index: 2;
  padding: 20px;
}


.titulo-bienvenida {
  font-size: 3.5rem;
  font-weight: bold;
  color: white;
  display: inline-block;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 20px;
  white-space: normal;
  word-spacing: 15px; 
}

.titulo-bienvenida .letra {
  display: inline-block;
  opacity: 0;
  animation: caer 0.6s ease-out forwards;
}

@keyframes caer {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}


.subtitulo {
  font-size: 1.8rem;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.subtitulo.mostrar {
  opacity: 1;
}


.barra-azul {
  background-color: #0066ff; 
  color: white;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0;
  font-size: 1.2rem;
  font-weight: bold;
  position: relative;
}

.marquee {
  display: inline-block;
  padding-left: 100%;
  animation: scroll 25s linear infinite;
}

.marquee span {
  margin: 0 50px; 
}

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


 /* Acerca de */

 .acerca-de {
    padding: 60px 20px;
    background-color: #ffffff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .acerca-de .imagen {
    order: 2;
  }
  
  .acerca-de .texto {
    order: 1;
  }  
  
  .acerca-de .contenedor {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  
  .acerca-de .imagen img {
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    border: 5px solid #007bff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
  }
  .imagen-animada {
    width: 100%;
    max-width: 450px; 
    border-radius: 15px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); 
    animation: flotar 3s ease-in-out infinite; 
    transition: transform 0.3s ease-in-out;
  }
  
  
  @keyframes flotar {
    0%, 100% {
      transform: translateY(0px);
    }
    50% {
      transform: translateY(-10px);
    }
  }
  
  .acerca-de .texto {
    max-width: 500px;
  }
  
  .acerca-de h4 {
    font-size: 28px;
    color: #0d3b66;
    font-weight: bold;
    margin-bottom: 10px;
    text-transform: uppercase;
  }

  
  .acerca-de h2 {
    font-size: 25px !important;
    font-weight: bold;
    color: #292525;
    margin-bottom: 20px;
  }
  
  .acerca-de p {
    color: #444;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 18px; 
    font-family: 'Georgia', serif; 
  }
  
  .acerca-de p {
    font-family: 'Poppins', sans-serif;
  }
  
  
  .acerca-de .btn {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(to right, #007bff, #00c6ff);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
  }
  
  .acerca-de .btn:hover {
    background: linear-gradient(to right, #0056b3, #0099cc);
  }
  
  #info-oculta {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #007bff;
    color: #333;
    font-size: 1rem;
    line-height: 1.6;
  }
  
  
  .container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
  }
  
 
@media (max-width: 768px) {
    .acerca-de .contenedor {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  
    .acerca-de .texto {
      padding: 0 10px;
    }
  
    .acerca-de h2 {
      font-size: 28px;
    }
  
    .acerca-de .btn {
      margin-top: 10px;
    }
  }

  .tabs {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
  }
  
  .tab {
    background-color: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    transition: all 0.3s ease;
  }
  
  .tab:hover {
    color: #007bff;
  }
  
  .tab.active {
    color: #007bff;
    border-color: #007bff;
  }
  
  
  .info-tab {
    display: none;
    margin-top: 10px;
  }
  
 
  .info-tab.activa {
    display: block;
  }
  
  
  #acerca-de h2 {
    font-size: 36px;
    margin-top: 5px;
  }
  #info-oculta {
    background-color: #f9f9f9;
    padding: 20px;
    border-left: 4px solid #007bff;
    color: #333;
    font-size: 17px; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6;
  }
  
  

  @media (max-width: 768px) {
    .grid-container {
      grid-template-columns: 1fr;
    }
  
    .valores {
      grid-column: span 1;
    }
  }
  
  
  @media (max-width: 768px) {
    .results-section {
      text-align: center;
      padding: 60px 20px;
    }
  
    .stats {
      flex-direction: column;
      align-items: center;
    }
  
    .image-comparison {
      margin-left: auto;
      margin-right: auto;
    }
  }
  

  

/* Results */
.results-section {
    text-align: center;
    background: #fff;
    padding: 60px 20px;
    font-family: Arial, sans-serif;
  }
  
  .results-section .headline {
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
  }
  
  .results-section .highlight {
    color: #0072ce;
  }
  
  .image-comparison {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
  }
  
  .image-comparison img {
    width: 100%;
    display: block;
    border-radius: 10px;
  }
  
  .image-comparison .divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: white;
  }
  
  .image-comparison .arrow {
    position: absolute;
    top: 50%;
    left: -20px;
    transform: translateY(-50%);
    background: #0072ce;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    padding: 10px;
    font-size: 16px;
  }
  
  .stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    background: #0072ce;
    color: white;
    padding: 30px 10px;
    border-radius: 10px;
    flex-wrap: wrap;
  }
  
  .stat h3 {
    margin: 0;
    font-size: 28px;
  }
  
  .stat p {
    margin: 5px 0 0;
    font-size: 14px;
    letter-spacing: 1px;
  }
  
  .book-btn {
    margin-top: 20px;
    background: white;
    color: #0072ce;
    border: 2px solid #0072ce;
    padding: 10px 25px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  .book-btn:hover {
    background: #0072ce;
    color: white;
  }


  /* Servicios */

body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f0f2f5;
}

.title_card{
  text-align: center;
  font-size: 30px;
  margin: 20px 0;
  color: #000000;
 
}

.section-servicios{
  padding: 30px 0;
  text-align: center;
}
.section-servicios .title_card{
  margin-bottom: 30px;
}


.contenedor-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 50px 20px;
}


.card {
  position: relative;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  width: 380px;
  height: 450px;
  border: 2px solid transparent; 
}


.card:hover {
  transform: translateY(-10px);
  border: 2px solid #007bff;
  box-shadow: 0 0 15px #007bff;
}

.card:hover {
  transform: translateY(-10px);
}


.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}


.contenido {
  padding: 20px;
  text-align: center;
}

.contenido h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #007bff;
}

.contenido p {
  font-size: 14px;
  color: #333;
  margin-bottom: 15px;
}

.btn {
  text-decoration: none;
  color: #fff;
  background: #007bff;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0056b3;
}


.scroll-wrapper {
  max-width: calc(3 * 380px + 2 * 30px);
  margin: 0 auto;
  overflow-x: auto;
  overflow-y: visible; 
  position: relative;
}


.contenedor-cards-scroll {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scroll-cards 30s linear infinite; 
}


.scroll-wrapper:hover .contenedor-cards-scroll {
  animation-play-state: paused;
}


@keyframes scroll-cards {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); 
  }
}


.contenedor-cards-scroll .card {
  flex: 0 0 380px;
}


/* Contacto */
.contacto {
  text-align: center;
  padding: 50px 20px;
  background: linear-gradient(135deg, #136297 0%, #ffffff 100%);
}

.contacto h2 {
  font-size: 2.3rem;
  color: #0d3b66;
  margin-bottom: 8px;
}

.contacto p {
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  color: #0a1b4f;
}

.contenedor-contacto {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
}

.mapa,
.info-contacto {
  flex: 1 1 350px;
  max-width: 500px;
}

.info-contacto {
  text-align: left;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.info-contacto h3 {
  font-size: 1.5rem;
  color: #0d3b66;
  margin-bottom: 12px;
}

.info-contacto ul {
  list-style: none;
  padding: 0;
}

.info-contacto ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: #333;
}

.info-contacto a {
  color: #00a8e8;
  text-decoration: none;
}

.info-contacto a:hover {
  text-decoration: underline;
}
@media(min-width:768px){
  .contenedor-contacto{
    flex-direction: row-reverse;
  }
}

.info-contacto {
  text-align: left;
  background: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: flotar 3s ease-in-out infinite; 

}


.info-contacto:hover {
  box-shadow: 0 8px 20px rgba(90, 112, 241, 0.15);
  transform: translateY(-5px);
}


@keyframes flotar {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}



/* Footer */

.footer {
  background: linear-gradient(135deg, #0a2540, #144d84);
  color: #ffffff;
  padding-top: 50px;
  padding-bottom: 60px;
  font-family: 'Segoe UI', sans-serif;
  width: 100%;
}

.footer {
  background-color: #0d3b66;
  color: white;
  padding: 30px 20px;
  text-align: center;
}

.footer-contenido {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
}

.footer a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
}

.logo-footer img {
  width: 150px;
  height: auto;
}

.copy {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #ccc;
}