/* ==========================================================================

   1. VARIABLES Y CONFIGURACIÓN GENERAL

   ========================================================================== */

:root {

  /* ====== Generales =========*/

  --color-fondo-base: #394959;

  --color-beige-medio: #cbaf8a;

  --color-blanco-f3: #f3f3f3;

  --color-whatsapp: #25d366;

  /* ====== Colores Brading =========*/

  --color-verde-claro: #6a7867;

  --color-verde-oscuro: #213636;

  --color-beige-claro: #E6E0CE;

  --color-azul-suave: #394959;

  /* ====== Fonts =========*/

  --fuente-titulos: 'Montserrat', sans-serif;

  --fuente-cuerpo: 'Montserrat', sans-serif;

  --fuente-citas: 'Playfair Display', serif;

}



body {

  /* background-color: var(--color-fondo-base); */

  font-family: var(--fuente-cuerpo);

  font-weight: 300; /* Cuerpos de texto en peso Light */

  margin: 0;

  padding: 0;

}



/* Tipografías específicas para Encabezados y Citas */

h1, h2, h3, h4, h5, h6, 

.h1, .h2, .h3, .h4, .h5, .h6 {

  font-family: var(--fuente-titulos);

  font-weight: 400; /* Títulos en peso Regular */

}



blockquote, .blockquote, cite, .cita-texto {

  font-family: var(--fuente-citas);

  font-style: italic;

}



img {

  user-select: none;

  -webkit-user-drag: none;

  -webkit-user-select: none;

  -moz-user-select: none;

  -ms-user-select: none;

  pointer-events: auto; /* Mantiene la interacción si la imagen está dentro de un enlace */

}



/* ==========================================================================

   2. BOTÓN FLOTANTE (WHATSAPP)

   ========================================================================== */

.float {

  position: fixed;

  width: 58px;

  height: 58px;

  bottom: 40px;

  right: 40px;

  background-color: var(--color-whatsapp);

  color: #ffffff;

  border-radius: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 32px;

  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);

  z-index: 100;

  transition: background-color 0.3s ease, color 0.3s ease;

}



.my-float {

  margin: 0;

}



.float:hover {

  text-decoration: none;

  color: var(--color-whatsapp);

  background-color: #ffffff;

}





/* ==========================================================================

   3. CLASES UTILITARIAS Y EFECTOS VISUALES

   ========================================================================== */

/* Efecto Cristal (Glassmorphism) */

.glass {

  background: rgba(15, 33, 41, 0.2);

  box-shadow: 0 8px 32px rgba(250, 250, 248, 0.5);

  border-radius: 10px;

  backdrop-filter: blur(15px);

  -webkit-backdrop-filter: blur(15px);

  border: 2px solid rgba(255, 255, 255, 0.1);

}



.contenedor-titulo {

  position: relative;

  display: inline-block;

  text-align: center;

}



.t-resp {

  font-size: 5vw;

}



.img-biografia {

  width: 50%;

  float: right;

  margin-left: 20px;

}



/* Colores de Texto Personalizados */

.texto-parrafo { color: #d9cdbc !important; }

.texto-subtitulo { color: var(--color-verde-oscuro) !important; }

.texto-1PTO { color: var(--color-verde-claro); }

.texto-2PTO { color: var(--color-verde-oscuro); }

.texto-3PTO { color: var(--color-beige-claro); }

.texto-4PTO { color: var(--color-azul-suave); }



/* Fondos Personalizados */

.fondoPTO { background-color: var(--color-verde-claro); }

.fondof3 { background-color: var(--color-blanco-f3); }

.fondoPTO1 { background-color: var(--color-verde-claro); }

.fondoPTO2 { background-color: var(--color-verde-oscuro); }

.fondoPTO3 { background-color: var(--color-beige-claro); }

.fondoPTO4 { background-color: var(--color-azul-suave); }

.fondoNegro { background-color: #000000; }



.fondoVerdePlus {

  background: linear-gradient(0deg, rgba(24,63,33,1) 0%, rgba(24,107,33,1) 100%);

}



/* Animación de Fondo */

/* .fondoMovimientoVerde {

  background-image: url('../img/3-fondos/Notaria140_GA__14.png');

  background-size: 200% 200%;

  animation: movimiento 20s infinite linear alternate;

}



@keyframes movimiento {

  from { background-position: center left; }

  to   { background-position: center right; }

} */



.fondoMovimientoVerde {

  background-color: #707b73;/* Tono base profundo */

  /* Capas de luces que emulan la fotografía proporcionada */

  background-image: 

    /* 1. Luz Marfil (Inferior izquierda) */

    radial-gradient(at 8% 92%, rgba(222, 222, 203, 0.85) 0px, transparent 45%),



    /* 2. Verde Oliva Claro (Centro-izquierda) */

    radial-gradient(at 25% 45%, rgba(129, 142, 133, 0.6) 0px, transparent 50%),



    /* 3. Sombra Neutra (Atenuada al mínimo en el centro inferior) */

    radial-gradient(at 50% 95%, rgba(79, 88, 82, 0.35) 0px, transparent 15%),



    /* 4. Verde Oliva Base (Derecha amplia) */

    radial-gradient(at 80% 30%, rgba(112, 123, 115, 0.9) 0px, transparent 55%);



  background-size: 180% 180%;

  background-attachment: fixed;

  animation: auraFluida 30s ease-in-out infinite alternate;

}



@keyframes auraFluida {

  0% {

    background-position: 0% 0%;

  }

  50% {

    background-position: 100% 100%;

  }

  100% {

    background-position: 0% 100%;

  }

}





/* ==========================================================================

   4. SECCIÓN LOCAL Y MÓDULOS DE UBICACIÓN

   ========================================================================== */

#local {

  background: var(--color-blanco-f3);

  display: flex;

  justify-content: center;

}



.wrapper {

  width: 50%;

  margin-left: 100px;

  padding-top: 50px;

}



#iconos i {

  font-size: 26px;

  padding: 0 8px;

  color: var(--color-blanco-f3);

}



#numeroslocal div {

  padding: 0 20px 0 0;

  height: 48px;

}



#numeroslocal div:not(:last-child) {

  border-right: 2px solid #3f3f3f;

}



#numeroslocal div:not(:first-child) {

  padding-left: 20px;

}



#numeroslocal p {

  margin: 0;

}



.vh-50 {

  height: 50vh !important;

}



.vh-70 {

  height: 70vh !important;

}



/* ==========================================================================

   5. MENSAJES DE FORMULARIO

   ========================================================================== */

#sendmessage {

  color: #198754;

  border: 1px solid #198754;

  display: none;

  text-align: center;

  padding: 15px;

  font-weight: 600;

  margin-bottom: 15px;

}



#errormessage {

  color: #dc3545;

  border: 1px solid #dc3545;

  display: none;

  text-align: center;

  padding: 15px;

  font-weight: 600;

  margin-bottom: 15px;

}



#sendmessage.show, 

#errormessage.show, 

.show {

  display: block;

}





/* ==========================================================================

   6. CONTENEDORES CON DESPLAZAMIENTO (SCROLLING)

   ========================================================================== */

.scrolling-300 { max-height: 300px; overflow: auto; }

.scrolling-500 { max-height: 500px; overflow: auto; }

.scrolling-700 { max-height: 700px; overflow: auto; }





/* ==========================================================================

   7. ADAPTABILIDAD (MEDIA QUERIES)

   ========================================================================== */

@media (max-width: 1200px) {

  #local {

    flex-wrap: wrap;

  }

  .wrapper {

    width: 90%;

    margin: auto;

    padding-top: 50px;

  }

}



@media (max-width: 992px) {

  #intro {

    width: 90% !important;

  }

  #PTOTitulo {

    font-size: 3rem !important;

  }

}



@media (max-width: 768px) {

  #PTOTitulo {

    font-size: 2rem !important;

  }

}



@media (max-width: 576px) {

  #PTOTitulo {

    font-size: 1rem !important;

  }

}



/* Estilo base para celulares (evita que ocupe 600px verticales en pantallas pequeñas) */

.img-hero-adaptable {

  height: 55vh;

  min-height: 380px;

  object-fit: cover;

  object-position: center top; /* Enfoca la parte superior/central de la foto */

}



/* Tablets en adelante */

@media (min-width: 768px) {

  .img-hero-adaptable {

    height: 70vh;

    min-height: 500px;

  }

}



/* Pantallas de Escritorio y Monitores Grandes */

@media (min-width: 992px) {

  .img-hero-adaptable {

    max-height: 80vh;

    min-height: 600px;

    object-position: center center; /* Centrado perfecto en monitores */

  }

}



/* Smart TVs 4K / Pantallas de 70"+ (> 1600px o 2560px) */

@media (min-width: 1600px) {

  .img-hero-adaptable {

    max-height: 85vh;

    min-height: 750px;

    object-position: center 40%; /* Ajuste fino de encuadre para pantallas gigantes */

  }

}

.card-azul-profundo {
  /* 1. Degradado en la misma gama exacta de tu --color-azul-suave (#394959) */
  /* Inicia ligeramente iluminado (#45586b), pasa por tu tono base y cierra en profundidad (#2b3744) */
  background: linear-gradient(145deg, #45586b 0%, var(--color-azul-suave) 45%, #2b3744 100%);

  /* 2. Borde izquierdo con tu variable --color-verde-claro */
  border-left: 6px solid var(--color-beige-claro) !important;

  /* 3. Efecto de profundidad, biselado superior y resplandor sutil del borde verde */
  box-shadow: 
    0 12px 26px -6px rgba(33, 54, 54, 0.45),        /* Sombra exterior anclada a tu --color-verde-oscuro */
    inset 0 1px 0 rgba(230, 224, 206, 0.22),        /* Filo de luz superior sutil con tinte de tu --color-beige-claro */
    inset 4px 0 14px -4px rgba(106, 120, 103, 0.35); /* Resplandor interno que proyecta tu --color-verde-claro */

  /* 4. Transición suave para la elevación */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-azul-profundo:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 18px 34px -6px rgba(33, 54, 54, 0.55),
    inset 0 1px 0 rgba(230, 224, 206, 0.32),
    inset 6px 0 18px -4px rgba(106, 120, 103, 0.5);
}