* {
	box-sizing: border-box;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	font-family: 'Verdana', 'Segoe UI', sans-serif;
	background: #eaf4fb;
	color: #333;
    font-size: 14px;
}
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}
.contenedor {
    width: 100%;
    padding-top: calc(261px + 8px); /* Altura del banner + borde inferior */
    min-height: 100vh;
}
.menu-superior {
	background: #045b8c;
	color: #fff;
	padding: 10px 20px;
	text-align: center;
	font-size: 18px;
}

.banner {
    position: relative;
    width: 100%;
	border-bottom: 4px #457ebe solid;
}

.imagen-banner {
    width: 100%;
    height: auto;
    display: block;
}

.botones {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.botones button {
  margin: 0 10px;
  padding: 10px 20px;
  background: white;
  border: 1px solid #ccc;
  cursor: pointer;
  border-radius: 20px;
  transition: background-color 0.3s, color 0.3s;
}

.botones button.activo {
  background-color: #045b8c;
  color: white;
  border-color: rgb(13, 107, 207);
}

.seccion {
	max-width: 1200px;
	margin: 4em auto 4em auto;
	background: #fff;
	padding: 30px;
	border-radius: 15px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
	border-left: 12px #457ebe solid;
	border-right: 4px #457ebe solid;
	border-top: 2px #457ebe solid;
	border-bottom: 2px #457ebe solid;
}
.seccion h1, .servicios h1 {
	color: #045b8c;
	text-align: center;
	margin-top: 0px;
    margin-bottom: 30px;
}
.conoceme {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
	gap: 15px;
}

div[id^="contenedor-conoceme"] img {
  width: 150px;      /* ancho fijo para miniaturas */
  height: 100px;     /* alto fijo (ajústalo a lo que prefieras) */
  object-fit: cover; /* para que la imagen se recorte y se ajuste bien */
  margin: 5px;       /* espacio entre miniaturas */
  cursor: pointer;   /* cambia cursor al pasar por encima */
  border-radius: 6px; /* opcional: bordes redondeados */
  box-shadow: 0 0 5px rgba(0,0,0,0.2); /* sombra sutil */
  transition: transform 0.2s ease; /* para efecto hover */
}

div[id^="contenedor-conoceme"] img:hover {
  transform: scale(1.1); /* zoom suave al pasar el ratón */
}

.lightbox {
	display: none;
	position: fixed;
	z-index: 1500;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(0,0,0,0.8);
	justify-content: center;
	align-items: center;
	flex-direction: column;
}
.lightbox img {
	max-width: 90%;
	max-height: 80%;
	border-radius: 8px;
	z-index: 1000;
}
.flecha, .cerrar {
	z-index: 1001;
}
.flecha {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	font-size: 40px;
	color: #fff;
	cursor: pointer;
	user-select: none;
	padding: 10px;
}
.izq {
	left: 20px;
}
.der {
	right: 20px;
}
.cerrar {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 30px;
	color: #fff;
	cursor: pointer;
	user-select: none;
}
iframe {
	width: 100%;
	height: 400px;
	border: 1px solid #045b8c;
	border-radius: 10px;
    margin: 1.5em auto 2em auto;
}
azul-negrita {
    font-weight: bold;
    color: #457ebe;
}
cursiva {
    font-style: italic;
    color: #0b2849;
    border-bottom: 1px solid #045b8c;
}
.seccion img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;
}
.seccion h2 {
	color: #8c0443;
	text-align: left;
	margin-top: 20px;
    margin-bottom: 20px;
}
.seccion h3 {
	color: #457ebe;
	text-align: center;
	margin-top: 3em;
    margin-bottom: 2em;
}
.seccion h2 a {
    color: #8c0443;     /* color por defecto */
    text-decoration: none;  /* sin subrayado */
    transition: color 0.3s;
}

.seccion h2 a:hover {
    color: green;  /* color al pasar por encima */
}
.seccion p, .seccion ul, .seccion {
    text-align: justify;
}
.seccion p a, enlace {
    color: #457ebe;     /* color por defecto */
    text-decoration: none;  /* sin subrayado */
    transition: color 0.3s;
    font-weight: bold;
    cursor: pointer;
}
.seccion p a:hover, enlace:hover {
    color: green;  /* color al pasar por encima */
}

#servicios h3, #frecuentes h3 {
  text-align: left;
  color: #457ebe;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
  border-bottom: 2px solid #457ebe;
  padding-bottom: 0.3rem;
}
.no-line {
    border-bottom: 0 !important;
}
#servicios p {
  margin-bottom: 1rem;
}

#servicios ul {
  list-style-type: disc;
  margin-bottom: 1rem;
}

#servicios ul ul {
  list-style-type: circle;
}

#servicios li {
  margin-bottom: 0.5rem;
}







.ficha {
  border-left: 12px solid #045b8c;
  border-right: 4px solid #045b8c;
  border-top: 2px solid #045b8c;
  border-bottom: 2px solid #045b8c;
  border-radius: 15px;
  padding: 30px;
  margin: 60px auto 30px;
  width: 80%;
  background: #f5f5f5;
  position: relative;
  transition: transform 0.3s, background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.ficha.activa {
  background: white;
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* sombra más profunda */
}
.ficha .ojo {
  position: absolute;
  top: -22px;
  left: -22px;
  z-index: 10; /* para asegurar que el ojo quede encima */
  background: #cbd5e1; /* azul grisáceo apagado */
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #ffffffcc;
  font-size: 22px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s, color 0.3s;
  opacity: 0.7;
  filter: grayscale(50%);
}

.ficha.activa .ojo {
  background: #045b8c; /* azul más oscuro */
  outline: 2px solid #1386c9; /* en lugar de border */
  border: none; /* quitar el border */
  padding-bottom: 2px;
  color: white;
  opacity: 1;
  filter: none;
  animation: pulse 2s infinite ease-in-out;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(0.85);
    box-shadow: 0 0 8px #0056b3b3;
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 15px #0056b3;
  }
}

.menu-movil-icono {
  display: none;
}

.btn-facebook {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    z-index: 3000;
    width: 36px;
    height: 36px;
}


/** Moviles **/
@media (max-width: 768px) {
    
    .menu-toggle {
        position: absolute;
        top: 15px;
        right: 15px;
        z-index: 1200;
        background: white;
        border: 1px solid #045b8c;
        border-radius: 5px;
        padding: 8px;
        cursor: pointer;
    }

    .botones {
        position: fixed;
        top: 90px;
        left: 50%;
        transform: translateX(-50%);
        display: none;
        flex-direction: column;
        background: #eaf4fb;
        border: 1px solid #045b8c;
        border-radius: 20px;
        padding: 15px;
        width: 90%;
        z-index: 1100;
        box-shadow: 0px 0px 15px rgba(0,0,0,0.5);
        max-height: 35vh;
        overflow-y: auto;
    }

    .botones button {
        width: 100%;
        padding: 12px;
        font-size: 16px;
        background: white;
        border: 1px solid #045b8c;
        color: #045b8c;
        border-radius: 20px;
        cursor: pointer;
        transition: background 0.3s, color 0.3s;
        margin: 5px 0;
    }

    .menu-movil-icono {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 28px;
        background: white;
        padding: 8px 12px;
        border: 1px solid #ccc;
        border-radius: 5px;
        cursor: pointer;
        z-index: 1100;
    }

    .contenedor {
        padding-top: calc(200px + 10px); /* Ajusta altura del banner para móviles */
    }

    .botones button:hover,
    .botones button.activo {
        background: #045b8c;
        color: white;
    }
}

