/* --- Reseteo Básico y Fuentes --- */
body,
h1,
p,
ul,
li,
a,
div,
header,
section,
nav {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    "Noto Sans",
    sans-serif,
    "Apple Color Emoji",
    "Segoe UI Emoji",
    "Segoe UI Symbol",
    "Noto Color Emoji";
}

/* --- Estilos Generales y de Contenedor --- */
.container {
  width: 100%;
  max-width: 1140px; /* Ancho máximo común para contenedores */
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* --- Barra de Navegación --- */
.header {
  background-color: #fff;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

/* --- Logo --- */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #1f2937;
  text-decoration: none;
  height: 20%;
  width: 20%;
}

.logo svg {
  fill: #f97316; /* Naranja para el ícono del logo */
}

/* --- Enlaces de Navegación --- */
.nav-links ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4b5563;
  font-size: 1rem;
  padding-bottom: 0.5rem;
  transition: color 0.2s ease-in-out;
}

.nav-links a:hover {
  color: #2563eb; /* Azul al pasar el mouse */
}

.nav-links a.active {
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
}

/* --- Sección Principal (Hero) --- */
.hero-section {
  position: relative;
  height: 700px;
  background-size: cover;
  background-position: center;
}
.hero-section .hero-imag {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border: none;
}

.hero-content {
  position: relative;
  height: 70%;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-text {
  max-width: 32rem; /* 512px */
}

.hero-text h1 {
  font-size: 3rem; /* 48px */
  font-weight: 700;
  color: #0d2c6d;
}

.hero-text p {
  font-size: 1.5rem; /* 24px */
  color: #4b5563;
  margin-top: 1rem;
}

/*stilos de about us*/

.about-section-v4 {
  position: relative; /* Para el separador superior */
  background-color: #eaf0f2;
  padding: 4rem 1rem;
  text-align: center;
}

/* Separador blanco angosto en la parte superior */
.about-section-v4::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #ffffff;
}

/* Título centrado con línea blanca */
.about-title-v4 {
  font-size: 2rem;
  font-weight: 300;
  color: #5dade2;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
  margin-bottom: 3rem; /* Espacio entre título y contenido de dos columnas */
}

.about-title-v4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 2px;
  background-color: #ffffff;
}

/* Contenedor para las dos columnas */
.about-content-v4 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  text-align: left; /* El texto dentro de las columnas va a la izquierda */
}

/* Espacio reservado para la imagen */
.image-placeholder-v4 {
  flex-shrink: 0;
  width: 296px;
  height: 420px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  font-size: 0.9rem;
}

/* Bloque de texto descriptivo */
.about-text-v4 {
  max-width: 580px;
}

.about-text-v4 p {
  font-size: 1rem;
  line-height: 1.7;
  color: #566573;
}
/*bloque para la galeria de imagenes */

.services-section {
  padding: 4rem 1rem;
  background-color: #ffffff;
  text-align: center;
}

/* Título "SERVICES" */
.services-title {
  font-size: 2rem;
  font-weight: 300;
  color: #5dade2;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 3rem;
}

/* Línea gris debajo del título */
.services-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background-color: #eeeeee;
  border-radius: 2px;
}

/* Contenedor de la galería de tarjetas */
.services-gallery {
  display: flex;
  justify-content: center;
  gap: 1.5rem; /* Espaciado entre tarjetas */
  flex-wrap: nowrap; /* Permite que las tarjetas pasen a la siguiente línea en pantallas pequeñas */
}

/* Estilo individual de cada tarjeta de servicio */
.service-card {
  background-color: #f8f9fa;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  width: 220px;
  overflow: hidden; /* Asegura que la imagen no se salga de los bordes redondeados */
  text-align: center;
  transition:
    transform 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Espacio reservado para la imagen del servicio */
.card-image-placeholder {
  height: 140px;
  background-color: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-style: italic;
  font-size: 0.9rem;
}

/* Contenido de texto de la tarjeta */
.card-body {
  padding: 1.25rem 1rem;
}

.card-title {
  font-size: 0.95rem;
  color: #0d2c6d;
  font-weight: 500;
}

/* Paginación con puntos */
.pagination-dots {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background-color: #d1d5db; /* Gris para puntos inactivos */
  cursor: pointer;
  transition: background-color 0.2s;
}

.dot.active {
  background-color: #5dade2; /* Azul para el punto activo */
}

/*bloque para galeria de imagenes photo gallery*/
.photo-gallery-section {
  padding: 4rem 1rem;
  background-color: #f8f9fa;
  text-align: center;
  overflow-x: clip; /* Evita el desbordamiento horizontal en pantallas muy pequeñas */
}

.gallery-title {
  font-size: 2rem;
  font-weight: 300;
  color: #5dade2;
  letter-spacing: 1px;
  display: inline-block;
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 3rem;
}

.gallery-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background-color: #eeeeee;
  border-radius: 2px;
}

/* NUEVO: Wrapper para definir el tamaño y posicionar las flechas */
.gallery-wrapper {
  position: relative;
  max-width: 1100px; /* Restaura el ancho máximo de la galería */
  margin: 0 auto; /* Centra la galería */
}

/* El contenedor que oculta las imágenes que se desbordan */
.gallery-container {
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.5s ease-in-out;
}

.gallery-item {
  flex: 0 0 calc(25% - 1.125rem);
  aspect-ratio: 3 / 4;
  background-color: #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-style: italic;
  font-size: 0.9rem;
}

/* AJUSTADO: Flechas con posicionamiento absoluto relativo al wrapper */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: #eaf0f2;
  border: none;
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: #566573;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition:
    background-color 0.2s,
    color 0.2s;
}

.gallery-nav:hover {
  background-color: #5dade2;
  color: #fff;
}

.gallery-nav.prev {
  left: -60px; /* Posición fuera del wrapper, a la izquierda */
}

.gallery-nav.next {
  right: -60px; /* Posición fuera del wrapper, a la derecha */
}

.gallery-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/*bloque mujer sonriendo */

/* Importar la fuente Poppins desde Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap");

.cta-section {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}

.cta-section::before,
.cta-section::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: #ffffff;
}

.cta-section::before {
  top: 0;
}

.cta-section::after {
  bottom: 0;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

.cta-text {
  flex-basis: 60%;
  position: relative;
  z-index: 1;
}

.cta-text h2 {
  font-family: "Poppins", sans-serif;
  font-size: 3.2rem;
  font-weight: 300;
  line-height: 1.3;
  margin: 0;
}

.cta-text .highlight {
  color: #2c5784;
  font-weight: 600;
  font-style: italic;
  font-size: 2.16em;
  display: ruby-text;
}

/* Ambas comillas como elementos decorativos */
.cta-text::before,
.cta-text::after {
  font-family: serif;
  font-size: 10rem;
  color: #408fe1;
  position: absolute;
  z-index: -3;
}

/* Comilla de apertura (sin cambios) */
.cta-text::before {
  content: "“";
  top: -3.5rem;
  left: -2rem;
}

/* AJUSTE FINAL: Comilla de cierre decorativa, posicionada como en la imagen */
.cta-text::after {
  content: "”";
  bottom: -1.3rem;
  /* Este valor 'right' la posiciona correctamente cerca de la palabra 'smile' */
  right: -2rem;
}

.cta-image-placeholder {
  flex-basis: 40%;
  min-height: 300px;
  align-self: flex-end;
}
/*bloque de contacto /*

	  /* Fuentes y cuerpo base */
body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

/* Contenedor principal de la sección */
.contact-section {
  padding: 4rem 2rem;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Título y textos de cabecera */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #56c1e5;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}

.section-header .title-underline {
  width: 80px;
  height: 3px;
  background-color: #e0e0e0;
  margin: 0.5rem auto 1.5rem;
}

.section-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #6c757d;
  max-width: 600px;
  margin: 0 auto;
}

/* Layout de Formulario y Mapa */
.contact-body {
  display: flex;
  gap: 7rem;
  flex-wrap: row;
}

.form-column {
  flex: 1;
  min-width: 320px;
}

.map-column {
  flex: 1;
  min-width: 320px;
  min-height: 500px;
}

/* Estilos del formulario */
.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group {
  flex: 1;
  position: relative;
}

.form-group.full-width {
  flex-basis: 100%;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem; /* Espacio para el icono */
  border: 1px solid #ced4da;
  border-radius: 4px;
  font-size: 1rem;
  background-color: #fff;
  -webkit-appearance: none; /* Quita estilos por defecto en iOS */
}

textarea.form-control {
  padding-right: 1rem;
  min-height: 120px;
  resize: vertical;
  width: 517px;
}

.input-icon {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  color: #56c1e5;
  pointer-events: none; /* Permite hacer clic a través del icono */
}

/* Iconos específicos */
select.form-control {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px 12px;
  width: 553px;
}

/* Botón de envío */
.submit-btn {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #56c1e5;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background-color: #4aa8c7;
}

/* Estilo del Iframe del mapa */
.map-column iframe {
  width: 100%;
  height: 100%;
  border: 1px solid #ced4da;
  border-radius: 4px;
}

/* bloque barra blanca contacto */
/* Contenedor exterior: se encarga del fondo y el ancho total */
.info-bar-wrapper {
  background-color: #ffffff; /* Fondo blanco profesional */
  width: 100%; /* Ocupa todo el ancho de la pantalla */
  padding: 2rem 0; /* Espaciado vertical */
  border-top: 1px solid #eeeeee; /* Borde sutil para un look limpio */
  border-bottom: 1px solid #eeeeee;
}

/* Contenedor interior: centra el contenido */
.info-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1200px; /* Ancho máximo para el contenido */
  margin: 0 auto; /* Centra el contenido en la pantalla */
  padding: 0 1rem; /* Evita que el contenido toque los bordes en pantallas pequeñas */
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-basis: 300px;
  flex-grow: 0;
  flex-shrink: 1;
}

.info-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-size: 60%;
  background-repeat: no-repeat;
  background-position: center;
}

/* Iconos SVG personalizados (sin cambios) */
.icon-call {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2356c1e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 2v4'%3E%3C/path%3E%3Cpath d='M16 2v4'%3E%3C/path%3E%3Crect width='18' height='18' x='3' y='4' rx='2'%3E%3C/rect%3E%3Cpath d='M3 10h18'%3E%3C/path%3E%3Ccircle cx='12' cy='16' r='3'%3E%3C/circle%3E%3Cpath d='M12 14.5v1.5l1 1'%3E%3C/path%3E%3C/svg%3E");
}

.icon-address,
.icon-email {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2356c1e5' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'%3E%3C/path%3E%3Cpath d='M12.5 8c-.5-1-2-1-2.5 0-.5 1 .5 2.5 2.5 2.5S13 9 12.5 8Z'%3E%3C/path%3E%3Cpath d='M15.5 11c0 2-1.5 3-3.5 3s-3.5-1-3.5-3'%3E%3C/path%3E%3C/svg%3E");
}

.info-text strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.info-text span {
  display: block;
  font-size: 0.95rem;
  color: #555;
}

/*bloque primer footer */

.site-footer {
  background-color: #eef1f3; /* Color de fondo gris claro como en la imagen */
  width: 100%;
  padding: 3rem 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #5a5a5a;
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap; /* Permite que las columnas se apilen en pantallas pequeñas */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 2rem;
}

.footer-col {
  flex: 1;
  min-width: 220px; /* Ancho mínimo para cada columna */
}

/* Columna del Logo */
.footer-col.logo-col {
  flex-grow: 1.5; /* Le da un poco más de espacio al logo */
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #56c1e5;
}
.logo-icon {
  display: inline-block;
  width: 28px;
  height: 28px;
  background-color: #fce1d1;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  line-height: 28px;
  font-weight: bold;
}

/* Columna de Horarios */
.footer-col h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin-top: 0;
  margin-bottom: 0.75rem;
}
.footer-col p {
  margin: 0;
  line-height: 1.6;
}

/* Columna de Enlaces */
.footer-col.links-col {
  border-left: 1px solid #d4d9dd;
  padding-left: 2rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  text-decoration: none;
  color: #5a5a5a;
  transition: color 0.3s;
}
.footer-links a:hover {
  color: #56c1e5;
}
.footer-links a::before {
  content: ">";
  margin-right: 0.75rem;
  color: #56c1e5;
  font-weight: bold;
}

/* Columna de Contacto */
.footer-col.contact-col {
  border-left: 1px solid #d4d9dd;
  padding-left: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: #5a5a5a;
}
.contact-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Media Query para responsividad en móviles */
@media (max-width: 992px) {
  .footer-col.links-col,
  .footer-col.contact-col {
    border-left: none;
    padding-left: 0;
  }
}

/* bloque segundo footer */
.derechos-section {
  position: relative;
  background-color: #6cbce2;
  padding: 2rem;
  color: #ffffff;
  overflow: hidden;
  /* --- LÍNEA AÑADIDA --- */
  /* Define el radio para: sup-izq, sup-der, inf-der, inf-izq */
  border-radius: 0 0 20px 20px;
}

/* El resto de tu CSS no necesita cambios */

.derechos-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  gap: 2rem;
}

.derechos-text {
  text-align: center;
  position: relative;
  z-index: 1;
}

.derechos-text h4 {
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}
