/* Estilos De Pagina Principal (Mobile-First)  */
/* ------------------------------------------- */
/* Fuente personalizada */
@font-face {
  font-family: "miFuente";
  src: url("../fonts/OpenSans.ttf");
}

/* Reset General */
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Configuracion Base Pagina */
html {
  font-size: 10px;
  scroll-behavior: smooth;
  scroll-padding-top: 170px;
}

/* Configuracion Base del Contenido */
body {
  font-family: miFuente;
  background: rgb(56, 56, 56);
  background-attachment: fixed;
}

/* Estructura Grid General de la Pagina (1 Columna=Mobile) */
.grid-container {
  width: 100%;
  display: grid;
  grid-template:
    "header" auto
    "main" auto
    "footer" auto;
}

/* Configuracion  General del area de la Cabecera */
.header {
  grid-area: header;
  background-image: url(../imagenes/cabeceraMobile2.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: fixed;
  z-index: 1000;
  width: 100%;
  height: 170px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
  background-color: #fff;
}

/* Configuracion General del area del Contenido */
.main {
  grid-area: main;
  background: transparent;
}

/* Configuracion General del area del Pie de Pagina */
.footer {
  grid-area: footer;
}

/* Menu de navegacion */
header nav {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 10000;
  right: 100%;
  margin: 0;
  top: 11rem;
  left: -40rem;
  overflow: scroll;
  text-align: center;
  background: rgba(2, 56, 89, 0.92);
}

header nav ul {
  list-style: none;
  height: auto;
  padding: 2rem 0;
  width: 100%;
}

header nav ul li {
  font-size: 2.4rem;
  transition: background 0.3s ease;
}

header nav ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
  width: 100%;
  height: 100%;
  padding: 2rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

header nav ul li:hover {
  /* background: rgba(178, 225, 232, 0.85); */
}

header nav ul li:active {
  /* background: rgba(232, 115, 26, 1); */
}

header nav ul li a span {
  margin-right: 1rem;
  display: inline-block;
}

.menu_bar {
  display: block;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
}

/* Icono de Hamburguesa para menú móvil */
.menu_bar .bt-menu {
  display: block;
  padding: 1rem;
  color: #ab95ee;
  overflow: hidden;
  font-size: 2.5rem;
  font-weight: bold;
  text-decoration: none;
  /* text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6); */
}

/* Icono de Hamburguesa para menú móvil */
.menu_bar span {
  float: right;
  font-size: 2.5rem;
  color: #093b2b;
}

.container-contenido {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* padding: 10px; */
}

/* Elementos de la Seccion del Contenido (Main) */
/* Contenedor Main */
.container-contenido > * {
  text-align: left;
  padding: 2rem;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.8rem;
  letter-spacing: 0.03em;
  /* Bordes para enmarcar secciones */
  border: none;
  /* border-radius: 12px; */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.container-contenido img {
  display: block;
  margin: auto;
  margin-bottom: 2rem;
  width: 70%;
}

.container-contenido h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 1rem;
}

/* Sección Inicio  */
.inicio {
  grid-area: inicio;
  background: rgb(232, 232, 229);
  color: #424141;
  padding-top: 19rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

/* Sección Misión  */
.mision {
  grid-area: mision;
     background: rgb(232, 232, 229);
    color: #424141;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.mision img {
  width: 100%;
}

/* Sección Visión  */
.vision {
  grid-area: vision;
     background: rgb(232, 232, 229);
    color: #424141;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.vision img {
  width: 100%;
}

/* Sección  Términos y Condiciones  */
.terminos {
  grid-area: terminos;
    background: rgb(232, 232, 229);
    color: #424141;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.terminos .linksTerminos {
  color: #ffffff;
  font-weight: bold;
  text-decoration: underline;
}

.terminos h5 {
  font-weight: bold;
  text-align: center;
  margin: 1.5rem auto;
  font-size: 1.6rem;
  color: #fff3cd;
}

.terminos img {
  width: 100%;
}

.responsabilidadesLista {
  margin-left: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: left;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 2.5rem;
}

/* Listas con viñetas de Terminos */
.textoContenido ul {
  width: fit-content;
  margin-left: 20px;
}

/* Sección  Pie de Página  */
.footer {
  grid-area: footer;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  background-color: #1a3a4a;
  background-image: linear-gradient(
    135deg,
    #1a3a4a 0%,
    #2a5060 50%,
    #1a3a4a 100%
  );
}

.contenido-pie {
  display: flex;
  flex-direction: column;
  margin: auto;
  padding: 1rem;
  align-items: center;
}

.contenido-pie .facebook {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid silver;
  margin-bottom: 15px;
  display: grid;
  place-items: center;
  background-color: aliceblue;
  padding: 5px 0px 0px 5px;
}

.contenido-pie .facebook img {
  width: 125%;
  object-fit: cover;
}

.contenido-pie p {
  color: #e8eff5;
  font-size: 1.8em;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
}

.contenido-pie .whatsapp {
  width: fit-content;
  height: auto;
  display: flex;
  align-items: center;
}

.contenido-pie .whatsapp img {
  display: block;
  width: 5em;
}

.contenido-pie .whatsapp a {
  color: #e8eff5;
  font-size: 1.8em;
  text-decoration: none;
  width: fit-content;
}

/* ========================================= */
/* Estilos globales para fondos vibrantes    */
/* ========================================= */

/* Links dentro de secciones */
.container-contenido a {
  color: #1751bd;
  text-decoration: underline;
  font-weight: 600;
}

.container-contenido a:hover {
  color: #ffffff;
}

/* Títulos h2 en secciones */
.container-contenido h2 {
  color: indigo;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Subtítulos h5 en secciones */
.container-contenido h5 {
  color: #0f2790;
}

/* Listas dentro de términos */
.terminos ul li a {
  color: #0c5b9b;
}

/* Span destacados */
.container-contenido span {
  color: #fff176;
  font-weight: 600;
}
