/* === Animaciones Scroll === */
.scroll-anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.scroll-anim.visible {
  opacity: 1;
  transform: none;
}

/* Animación para tarjetas */
.personal-card.scroll-anim,
.service-item.scroll-anim {
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  transition: opacity 0.7s, transform 0.7s;
}
.personal-card.scroll-anim.visible,
.service-item.scroll-anim.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
/* === Footer === */
.footer {
  background: #143961;
  color: #fff;
  padding: 2rem 1rem 0.5rem 1rem;
  font-family: "Rubik", sans-serif;
  margin-top: 3rem;
}
.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 1.3rem;
  font-weight: 700;
}
.footer-logo img {
  width: 45px;
  height: auto;
}
.footer-contact p {
  margin: 0.2rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
  font-size: 1.5rem;
}
.footer-social a {
  color: #fff;
  transition: color 0.2s;
}
.footer-social a:hover {
  color: #4abdac;
}
.footer-copy {
  text-align: center;
  font-size: 0.95rem;
  color: #cce3f7;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}
/* === Personal Section === */
.personal-section {
  padding: 2rem 1rem;
  background: #f4faff;
  text-align: center;
}

.personal-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  justify-items: center;
}

.personal-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 57, 97, 0.08);
  padding: 2rem 1rem 1.5rem 1rem;
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.personal-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 24px rgba(20, 57, 97, 0.16);
}

.personal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.personal-card h3 {
  margin: 0.5rem 0 0.2rem 0;
  font-size: 1.2rem;
  color: #143961;
  font-family: "Comfortaa", sans-serif;
}

.personal-role {
  font-size: 1rem;
  color: #1fa9e4;
  margin-bottom: 0.2rem;
  font-weight: 500;
}

.personal-exp {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.personal-card p {
  font-family: "Rubik", sans-serif;
  font-size: 0.98rem;
  color: #5c5959;
  margin: 0.2rem 0;
}
* {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.473); /* Fondo blanco semi-transparente */
  backdrop-filter: blur(10px); /* Desenfoque del fondo */
  -webkit-backdrop-filter: blur(10px); /* Soporte Safari */
  padding: 1rem 2rem;
  z-index: 1000; /* Asegura que la barra de navegación esté por encima de otros elementos */
}

.title-page {
  font-size: 1rem;
  font-weight: 700;
  font-family: "Montserrat", sans-serif;
  display: flex;
  color: #0056b3;
  align-items: center;
}

.title-page img {
  width: 50px;
  height: auto;
  margin-right: 10px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 3rem;
  font-family: "Comfortaa", sans-serif;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #007bff;
}

.hero-section {
  margin-top: -80px;
  background: linear-gradient(330deg, #fdfdfdde, #1fa9e4);
  padding: 100px 20px;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-content {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.hero-content h1 {
  font-family: "Comfortaa", sans-serif;
  font-size: 2.5rem;
  font-weight: bold;
  color: #143961;
  letter-spacing: -2px;
}

.hero-content h2 {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.5rem;
  color: #5c5959;
  letter-spacing: -2px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-content p {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #5c5959;
  margin-bottom: 30px;
}

.btn-solicitar {
  background: #143961;
  color: #fff;
  border: none;
  font-size: 1rem;
  font-family: "Rubik", sans-serif;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.3s ease;
  border: 2px solid #143961;
}

.btn-solicitar:hover {
  background: #0056b3;
}

.btn-servicios {
  text-decoration: none;
  background: transparent;
  color: #143961;
  border: 2px solid #143961;
  font-size: 1rem;
  font-family: "Comfortaa", sans-serif;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn-servicios:hover {
  background: #143961;
  color: #fff;
}

.hero-image {
  width: 50%;
  height: 100vh;
  display: flex;
  align-items: start;
  position: relative;
}

.hero-image img {
  position: absolute;
  top: 10%;
  left: 0;
  max-width: 100%;
  height: 90%;
}

.section-title {
  font-family: "Comfortaa", sans-serif;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #143961;
  letter-spacing: -2px;
}

.section-description {
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: #5c5959;
  margin-bottom: 30px;
}

.services {
  padding: 1rem;
  background: #f9f9f9;
  text-align: center;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
  gap: 1rem;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  padding: 1rem;
  text-align: left;
  transition: box-shadow 0.3s ease;
  cursor: pointer;
}

.service-item h3 {
  width: 100%;
  font-family: "Comfortaa", sans-serif;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #143961;
}

.service-item p {
  width: 100%;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #5c5959;
}

.service-item img {
  width: 100px;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.service-item:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.342);
}

hr {
  width: 100%;
  border: none; /* elimina borde predeterminado */
  height: 2px; /* grosor de la línea */
  background-color: #4abdac; /* color de la línea */
  margin: -5px;
}

.local-section {
  width: 100%;
  text-align: center;
}

.local-container {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.local-image {
  width: 50%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.local-image img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}
.local-info-container {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.local-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 1rem;
  padding: 1rem;
  justify-content: center;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  color: #5c5959;
  text-align: left;
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 3px;
}
.local-info a {
  text-decoration: none;
  color: #143961;
  font-weight: 500;
  transition: color 0.3s ease;
}

.local-info img {
  width: 100px;
  height: auto;
}

.appointment-section {
  padding: 2rem 1rem;
  background: #f4faff;
  text-align: center;
}

.appointment-container {
  position: relative;
  width: 100%;
  height: 700px;
}

iframe {
  border: none;
  width: 100%;
  height: 100%;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: space-around;
  width: 30%;
  height: 90%;
  position: absolute;
  top: 50%;
  left: 82%;
  transform: translate(-50%, -50%);
  background: white;
  padding: 2rem;
  border-radius: 5px;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.774);
}

.appointment-form form {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.appointment-container label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #143961;
  font-family: "Comfortaa", sans-serif;
}

.appointment-container input {
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: 1px solid #4abdac;
  border-radius: 5px;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  color: #143961;
}

.appointment-container button {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  background: #4abdac;
  color: white;
  font-family: "Rubik", sans-serif;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.appointment-container button:hover {
  background: #3a9b8c;
}
