/* 🔷 ESTILOS GENERAL */

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #fefefe;
  color: #333;
}

/* 🔹 Encabezado */
header .encabezado {
  padding: 20px;
  background-color: #D4E7EF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 🔹 Logo agrupado (estructura antigua) */
header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 110px;
}

.logo h1 {
  font-size: 1.8em;
  margin: 0;
  color: #D48BA0;
}


/* 🔹 Menú (estructura antigua) */
header .menu a {
  margin-left: 15px;
  text-decoration: none;
  color: #444;
  font-weight: bold;
}

/* 🔹 Módulo LatirPay */
.latido-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.latido-icono {
  width: 60px !important;
  height: auto !important;
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.latido-info h4 {
  margin: 0;
  font-size: 1.2em;
  color: #444;
}

.latido-info p {
  margin-top: 5px;
  color: #666;
}


/* 🔹 Franja blanca del logo */
.logo-barra {
  background-color: white;
  padding: 30px 40px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* 🔹 Ajuste visual del logo */
.logo-img {
  height: 80px;
}

/* 🔹 Franja azul claro con navegación */
.barra-navegacion {
  background-color: #C0E5E7; /* turquesa claro igual al corazón */
  padding: 15px 40px;
  display: flex;
justify-content: flex-end;
  gap: 25px;
}

.barra-navegacion a {
  text-decoration: none;
  font-weight: bold;
  color: #222; /* negro grisáceo */
}

/* 🔷 ESTILOS BIENVENIDA */


.seccion-bienvenida {
  padding: 60px 20px;
  background-color: #ffe7ef;
  text-align: center;
}

.titulo-bienvenida {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  font-weight: 800;
  color: #007b83;
  margin-bottom: 20px;
}

.texto-bienvenida {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 25px;
}

.botones-bienvenida {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

/* 🔹 Contenedor para video */
.video-container {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #000;
}

/* 🔹 Franja de navegación azul claro */
.barra-navegacion {
  background-color: #c6e6e8;
  padding: 10px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1000;
}

/* 🔹 Enlaces normales */
.barra-navegacion a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  margin-left: 10px;
}

/* 🔹 Dropdown personalizado */
.dropdown-latidos {
  position: relative;
  display: inline-block;
}

.dropdown-latidos .dropdown-contenido {
  display: none;
  position: absolute;
  right: 0;
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 160px;
  box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
  z-index: 999;
}

.dropdown-latidos:hover .dropdown-contenido {
  display: block;
}

.dropdown-latidos .dropdown-contenido a {
  color: #333;
  padding: 10px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-latidos .dropdown-contenido a:hover {
  background-color: #f0f0f0;
}


/* 🔷 ESTILOS MENSAJES */


.formulario-mensajes {
    margin-top: 80px;
    text-align: center;
    background: #eaf7fa;
    padding: 40px 20px;
}

.carta-mensajes {
    background: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.1);
    position: relative;
}

.icono-sobre {
    font-size: 50px;
    margin-bottom: 10px;
    animation: latido 1.5s infinite;
}

@keyframes latido {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.mensajes label {
    display: block;
    margin-top: 15px;
    text-align: left;
    font-weight: bold;
}

.mensajes input,
.mensajes textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    background-color: #fcfcfc;
}

.mensajes textarea {
    min-height: 120px;
}

.mensajes button {
    margin-top: 20px;
    padding: 12px 30px;
    background: #00b2d8;
    border: none;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
}

.mensajes button:hover {
    background: #008cb0;
}


/* 🔷 ESTILOS BLOQUES */


.subrayado-decorativo {
}

.subrayado-decorativo {
  width: 50px;
  height: 4px;
  background-color: #008080;
  margin: 10px auto 20px auto;
  border-radius: 2px;
  display: block;
}


.bloque-agencias {
  background-color: #fff9f3;
  padding: 60px 20px;
  text-align: center;
  border-top: 2px solid #ffcba4;
}

.container-anuncio {
  max-width: 750px;
  margin: 0 auto;
}

.titulo-agencias {
  font-size: 2rem;
  color: #d16b00;
  margin-bottom: 15px;
  font-weight: 800;
}

.texto-agencias {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 10px;
}

.detalle-pago {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 25px;
}

.btn-agencia {
  display: inline-block;
  padding: 10px 25px;
  background-color: #d16b00;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
}

.btn-agencia:hover {
  background-color: #a04e00;
}


.mensaje-inspirador {
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2rem;
  color: #444;
  background-color: #fff5f5;
  padding: 20px;
  border-left: 5px solid #ffb3c6;
  border-radius: 8px;
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}


/* 🔷 ESTILOS ENSAYOS */


.ensayo-titulo {
  text-align: center;
  font-size: 2.2em;
  color: #006666;
  margin: 40px 0 30px;
  border-bottom: 2px solid #c4e2df;
  display: inline-block;
  padding-bottom: 10px;
  width: 100%;
}


.ensayo-container {
  max-width: 700px;
  margin: auto;
  padding: 40px 20px;
  background-image: url('/latir/img/textura_libro.png'); /* Puedes cambiarlo */
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
  border-radius: 10px;
  font-family: 'Georgia', serif;
}

.ensayo-portada {
  text-align: center;
  margin-bottom: 30px;
}

.ensayo-titulo {
  font-size: 2em;
  font-weight: bold;
  color: #006f6b;
  margin-bottom: 0;
}

.ensayo-cuerpo {
  padding: 20px 30px;  /* 🔹 Ajusta aquí la separación interna */
  text-align: justify;
  font-size: 1.1em;
  color: #333;
  line-height: 1.8;
}
