.sello-notarial {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, transparent 50%, rgba(210, 180, 140, 0.3) 70%, rgba(210, 180, 140, 0.6) 90%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 100;
    transform: rotate(-10deg);
    opacity: 0.9;
    /*border: 2px dotted rgba(46, 139, 87, 0.4);*/ /* Cambiado a verde */
    border: 2px dotted rgba(255, 255, 255, 0.4); /* Cambiado a blanco */
    border: 2px dotted rgba(46, 139, 87, 0.4);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.sello-notarial.efecto-agrandar {
    transform: rotate(-10deg) scale(1.2);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
    opacity: 1;
    z-index: 1000;
}

.sello-notarial::before {
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    /*border: 2px solid rgba(34, 139, 34, 0.3);*/ /* Cambiado a verde */
    border: 2px solid rgba(255, 255, 255, 0.3); /* Cambiado a blanco */
    border-radius: 50%;
    box-shadow: inset 0 0 15px rgba(77, 62, 44, 0.2);
    transition: inherit;
}

.sello-notarial::after {
    position: absolute;
    bottom: 15px;
    font-size: 10px;
    color: #293a75;
    letter-spacing: 1px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
    transition: inherit;
}

.logo-institucional {
    width: 90px;
    height: 90px;
    background-image: url('../img/logo3.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: sepia(70%) brightness(90%);
    transition: inherit;
}

.anillo-texto {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Old English Text MT', 'Times New Roman', serif;
    font-size: 9px;
    color: #8B4513;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.anillo-texto span {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cream-paper.png');
    opacity: 0.3;
    pointer-events: none;
    z-index: -1;
}

/*estilos linea del tiempo footer*/
.timeline-carousel {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-left 40s linear infinite;
  gap: 20px;
}

.timeline-card {
  min-width: 250px;
  background-color: #2b2b2b;
  border: none;
  border-radius: 10px;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease;
}

.timeline-card:hover {
  transform: translateY(-5px);
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.timeline-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  white-space: normal;
  word-break: break-word;
}

/*INICIO estilo para la imagen que esta en la seccion de SOBRE NOSOTROS*/
/* Contenedor principal con textura y borde dorado */
.historic-img-container {
  position: relative;
  overflow: hidden;
  border: 6px solid #b8a778; /* borde dorado elegante */
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  background: url('img/paper-texture.jpg'); /* textura papel antiguo */
  background-size: cover;
  transition: transform 0.5s, box-shadow 0.5s;
}

.historic-img-container:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.6);
}

/* Imagen principal con filtro sepia */
.historic-img {
  width: 100%;
  height: auto;
  display: block;
  filter: sepia(0.3) contrast(1.1) brightness(0.95);
  transition: filter 0.5s;
}

.historic-img-container:hover .historic-img {
  filter: sepia(0) contrast(1.15) brightness(1);
}

@keyframes sealMove {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
  50% { transform: translate(-48%, -52%) rotate(2deg) scale(1.02); }
  100% { transform: translate(-50%, -50%) rotate(0deg) scale(1); }
}

/* Brillo animado sobre la textura */
.historic-img-container::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
  animation: shine 4s infinite linear;
  pointer-events: none;
}

@keyframes shine {
  0% { transform: rotate(0deg) translateX(-100%); }
  100% { transform: rotate(0deg) translateX(100%); }
}

/*FIN estilo para la imagen que esta en la seccion de SOBRE NOSOTROS*/



