.loader-container {
  position: fixed;
  inset: 0;
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loader-container.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Contenedor principal - completamente simétrico */
.goytia-loader {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto 30px;
}

/* Anillo exterior principal */
.ring-outer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 2px solid #233731;
  border-radius: 50%;
  opacity: 0.15;
}

/* Anillo exterior secundario */
.ring-outer-2 {
  position: absolute;
  top: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  border: 1px solid #a7926f;
  border-radius: 50%;
  opacity: 0.2;
}

/* Círculo punteado */
.dotted-ring {
  position: absolute;
  top: 10px;
  left: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border: 1px dashed #233731;
  border-radius: 50%;
  opacity: 0.15;
  animation: rotateSlow 20s linear infinite;
}

/* Anillo rotativo principal */
.rotating-ring {
  position: absolute;
  top: 20px;
  left: 20px;
  width: calc(100% - 40px);
  height: calc(100% - 40px);
  border: 2px solid transparent;
  border-top: 2px solid #233731;
  border-bottom: 2px solid #a7926f;
  border-radius: 50%;
  animation: rotate 3s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
  opacity: 0.8;
}

/* Segundo anillo rotativo (interior) */
.rotating-ring-2 {
  position: absolute;
  top: 35px;
  left: 35px;
  width: calc(100% - 70px);
  height: calc(100% - 70px);
  border: 2px solid transparent;
  border-right: 2px solid #233731;
  border-left: 2px solid #a7926f;
  border-radius: 50%;
  animation: rotateReverse 2.4s cubic-bezier(0.645, 0.045, 0.355, 1) infinite;
  opacity: 0.6;
}

/* Centro del logo - completamente simétrico */
.logo-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: #fbfbfb;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 10;
  box-shadow:
    0 4px 12px rgba(35, 55, 49, 0.08),
    0 0 0 1px rgba(167, 146, 111, 0.2);
}

/* Línea horizontal decorativa */
.line-horizontal {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, #233731, #a7926f, #233731);
  margin: 6px 0;
  opacity: 0.5;
}

/* Línea vertical decorativa (sutil) */
.line-vertical {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, #233731, #a7926f, #233731);
  opacity: 0.3;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* Monograma principal */
.monogram {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #233731;
  font-family: "Times New Roman", serif;
  line-height: 1;
}

.monogram span {
  color: #a7926f;
  font-weight: 300;
  margin: 0 2px;
}

/* Texto inferior del logo */
.logo-text {
  font-size: 8px;
  letter-spacing: 2.5px;
  color: #a7926f;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 400;
}

.logo_loader {
  width: 50px;
}
/* Barra de progreso simétrica */
.progress-container {
  width: 180px;
  height: 2px;
  background: rgba(35, 55, 49, 0.05);
  margin: 25px auto 15px;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  background: linear-gradient(90deg, #233731, #a7926f);
  border-radius: 2px;
  animation: progress 1.4s ease-in-out infinite alternate;
}

/* Indicadores de carga simétricos */
.indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 10px;
}

.indicator {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #233731;
  opacity: 0.15;
  transition: opacity 0.3s ease;
}

.indicator.active {
  background: #a7926f;
  opacity: 0.8;
  animation: pulse 1s ease-in-out infinite;
}

.indicator:nth-child(2) {
  animation-delay: 0.2s;
}
.indicator:nth-child(3) {
  animation-delay: 0.4s;
}
.indicator:nth-child(4) {
  animation-delay: 0.6s;
}
.indicator:nth-child(5) {
  animation-delay: 0.8s;
}

/* Texto de marca */
.brand {
  color: #233731;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 15px;
  opacity: 0.8;
}

.brand span {
  color: #a7926f;
  font-weight: 400;
  position: relative;
}

.brand span::before,
.brand span::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 1px;
  background: #a7926f;
  opacity: 0.3;
}

.brand span::before {
  left: -12px;
}

.brand span::after {
  right: -12px;
}

/* Animaciones */
@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes rotateReverse {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes rotateSlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes progress {
  0% {
    left: -25%;
    width: 30%;
  }
  50% {
    left: 35%;
    width: 40%;
  }
  100% {
    left: 75%;
    width: 30%;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.5);
    background: #a7926f;
  }
}

/* Versión alternativa con más contraste al hacer hover */
.goytia-loader:hover .rotating-ring {
  border-top-color: #a7926f;
  border-bottom-color: #233731;
  transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 480px) {
  .goytia-loader {
    transform: scale(0.9);
  }
}
