.sobre-container {
  max-width: 1100px;
  margin: 80px auto 60px;
  background: #fff;
  border-radius: 32px;
  box-shadow: 0 12px 40px rgba(74, 60, 140, 0.13);
  padding: 64px 48px;
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  justify-content: center;
}

.efecto-sobre {
  background: #18132b;
  color: #a084e8;
  border-radius: 18px;
  box-shadow: 0 4px 32px rgba(74, 60, 140, 0.2);
  font-size: 1.7rem;
  padding: 20px;
  animation: colorFadeSobre 1s forwards;
  transition: background 0.4s, color 0.4s;
}

.efecto-sobre h2,
.efecto-sobre strong {
  color: #7c3aed;
  transition: color 0.4s;
}

@keyframes colorFadeSobre {
  from {
    background: #fff;
    color: #4a3c8c;
  }
  to {
    background: #000000;
    color: #a084e8;
  }
}

.sobre-texto {
  flex: 1 1 420px;
  min-width: 320px;
  font-size: 1.35rem;
  line-height: 1.7;
  letter-spacing: 0.01em;
  background: #fff;
  color: #4a3c8c;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(74, 60, 140, 0.07);
  padding: 32px 28px;
  margin-bottom: 18px;
  transition: background 0.4s, color 0.4s, box-shadow 0.4s;
}

.sobre-texto h2 {
  font-size: 2.2rem;
  margin-bottom: 18px;
  color: #7c3aed;
}

.sobre-texto strong {
  color: #4a3c8c;
}

.sobre-foto-arco {
  flex: 1 1 420px;
  min-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sobre-foto-arco img {
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 32px 32px 80px 80px / 48px 48px 120px 120px;
  box-shadow: 0 8px 32px rgba(74, 60, 140, 0.2);
  border: 14px solid #eae6fa;
  background: #f6f6fa;
}

.foto-overlay-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 10, 20, 0.82);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInOverlay 0.5s forwards;
}

@keyframes fadeInOverlay {
  from { opacity: 0; }
  to { opacity: 1; }
}

.foto-overlay-bg .bg-img {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1001;
  pointer-events: none;
  opacity: 0.93;
  animation: fadeInImg 0.7s forwards;
}

@keyframes fadeInImg {
  from { opacity: 0; }
  to { opacity: 0.93; }
}

.foto-overlay-bg .overlay-close {
  position: fixed;
  top: 32px;
  right: 48px;
  z-index: 1100;
  font-size: 2.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  /* aria-label sugerido en HTML: aria-label="Cerrar overlay" */
}

.foto-overlay-bg .overlay-texto {
  position: relative;
  z-index: 1101;
  width: 90vw;
  max-width: 98vw;
  background: rgba(24, 19, 43, 0.92);
  color: #fff;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(74, 60, 140, 0.33);
  padding: 48px 38px;
  font-size: 2.2rem;
  line-height: 1.4;
  animation: slideInLeft 0.7s forwards;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 32px;
}

@keyframes slideInLeft {
  from {
    transform: translateX(60vw);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.foto-overlay-bg .overlay-texto p,
.foto-overlay-bg .overlay-texto h2,
.foto-overlay-bg .overlay-texto strong {
  font-size: 2.2rem;
  line-height: 1.4;
  margin: 0 24px;
}

.foto-overlay-bg .overlay-texto button {
  display: none;
}
/* Estilos para la flecha */

.arrow-pointer-img {
  position: absolute;
  left: 50%;
  top: 160px;
  transform: translateX(-50%);
  font-size: 2.7rem;
  color: #7c3aed;
  animation: arrowBounce 1s infinite;
  pointer-events: none;
  z-index: 2;
}

.arrow-text-img {
  display: block;
  margin-top: 18px;
  font-size: 1.1rem;
  color: #7c3aed;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: arrowFade 1s infinite;
  text-align: center;
  user-select: none;
  pointer-events: none;
}

.arrow-hint {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 12px;
  user-select: none;
  pointer-events: none;
}

.arrow-bounce {
  font-size: 2.7rem;
  color: #000000;
  animation: arrowBounce 1s infinite;
  margin-bottom: 2px;
}

.arrow-text {
  font-size: 1.1rem;
  color: #7c3aed;
  font-weight: 700;
  letter-spacing: 0.02em;
  animation: arrowFade 1s infinite;
}

@keyframes arrowBounce {
  0%, 100% { transform: translateY(0);}
  30% { transform: translateY(-18px) scale(1.15);}
  60% { transform: translateY(-8px);}
}

@keyframes arrowFade {
  0%, 100% { opacity: 1;}
  50% { opacity: 0.4;}
}

/* === SOBRE NOSOTROS: RESPONSIVE PARA MÓVIL (hasta 480px) === */
@media (max-width: 480px) {
  .sobre-container {
    max-width: 99vw;
    margin: 18px auto 12px auto;
    padding: 12px 2vw;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(74,60,140,0.10);
    flex-direction: column;
    gap: 18px;
  }
  .efecto-sobre {
    font-size: 1.1rem;
    padding: 12px 8px;
    border-radius: 10px;
  }
  .sobre-texto {
    font-size: 1rem;
    padding: 16px 8px;
    border-radius: 10px;
    margin-bottom: 10px;
  }
  .sobre-texto h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .sobre-foto-arco {
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
  .sobre-foto-arco img {
    border-radius: 18px 18px 40px 40px / 24px 24px 60px 60px;
    border-width: 7px;
    max-width: 98vw;
    aspect-ratio: 1/1;
  }
  .foto-overlay-bg .overlay-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 1.3rem;
  }
  .foto-overlay-bg .overlay-texto {
    padding: 18px 6px;
    border-radius: 12px;
    font-size: 1.1rem;
    gap: 12px;
  }
  .foto-overlay-bg .overlay-texto p,
  .foto-overlay-bg .overlay-texto h2,
  .foto-overlay-bg .overlay-texto strong {
    font-size: 1.1rem;
    margin: 0 6px;
  }
  .arrow-pointer-img {
    top: 80px;
    font-size: 1.5rem;
  }
  .arrow-text-img,
  .arrow-text {
    font-size: 0.9rem;
    margin-top: 6px;
  }
}

/* === SOBRE NOSOTROS: RESPONSIVE PARA TABLET PEQUEÑA (481px a 767px) === */
@media (min-width: 481px) and (max-width: 767px) {
  .sobre-container {
    max-width: 96vw;
    margin: 32px auto 18px auto;
    padding: 24px 4vw;
    border-radius: 18px;
    box-shadow: 0 6px 24px rgba(74,60,140,0.10);
    flex-direction: column;
    gap: 24px;
  }
  .efecto-sobre {
    font-size: 1.3rem;
    padding: 18px 12px;
    border-radius: 12px;
  }
  .sobre-texto {
    font-size: 1.15rem;
    padding: 22px 14px;
    border-radius: 12px;
    margin-bottom: 12px;
  }
  .sobre-texto h2 {
    font-size: 1.6rem;
    margin-bottom: 14px;
  }
  .sobre-foto-arco {
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
  }
  .sobre-foto-arco img {
    border-radius: 22px 22px 60px 60px / 32px 32px 80px 80px;
    border-width: 9px;
    max-width: 96vw;
    aspect-ratio: 1/1;
  }
  .foto-overlay-bg .overlay-close {
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
  .foto-overlay-bg .overlay-texto {
    padding: 28px 14px;
    border-radius: 16px;
    font-size: 1.3rem;
    gap: 18px;
  }
  .foto-overlay-bg .overlay-texto p,
  .foto-overlay-bg .overlay-texto h2,
  .foto-overlay-bg .overlay-texto strong {
    font-size: 1.3rem;
    margin: 0 12px;
  }
  .arrow-pointer-img {
    top: 110px;
    font-size: 2rem;
  }
  .arrow-text-img,
  .arrow-text {
    font-size: 1rem;
    margin-top: 8px;
  }
}

/* === SOBRE NOSOTROS: RESPONSIVE PARA TABLET GRANDE (768px a 1023px) === */
@media (min-width: 768px) and (max-width: 1023px) {
  .sobre-container {
    max-width: 90vw;
    margin: 40px auto 24px auto;
    padding: 36px 6vw;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(74,60,140,0.10);
    flex-direction: row;
    gap: 32px;
  }
  .efecto-sobre {
    font-size: 1.5rem;
    padding: 24px 18px;
    border-radius: 14px;
  }
  .sobre-texto {
    font-size: 1.22rem;
    padding: 28px 18px;
    border-radius: 14px;
    margin-bottom: 14px;
  }
  .sobre-texto h2 {
    font-size: 1.9rem;
    margin-bottom: 16px;
  }
  .sobre-foto-arco {
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
  }
  .sobre-foto-arco img {
    border-radius: 28px 28px 70px 70px / 38px 38px 100px 100px;
    border-width: 12px;
    max-width: 90vw;
    aspect-ratio: 1/1;
  }
  .foto-overlay-bg .overlay-close {
    top: 24px;
    right: 24px;
    width: 50px;
    height: 50px;
    font-size: 2.1rem;
  }
  .foto-overlay-bg .overlay-texto {
    padding: 38px 24px;
    border-radius: 20px;
    font-size: 1.5rem;
    gap: 24px;
  }
  .foto-overlay-bg .overlay-texto p,
  .foto-overlay-bg .overlay-texto h2,
  .foto-overlay-bg .overlay-texto strong {
    font-size: 1.5rem;
    margin: 0 18px;
  }
  .arrow-pointer-img {
    top: 130px;
    font-size: 2.3rem;
  }
  .arrow-text-img,
  .arrow-text {
    font-size: 1.08rem;
    margin-top: 10px;
  }
}

/* === SOBRE NOSOTROS: RESPONSIVE PARA DESKTOP MEDIO (1024px a 1280px) === */
@media (min-width: 1024px) and (max-width: 1280px) {
  .sobre-container {
    max-width: 1100px;
    margin: 60px auto 40px auto;
    padding: 48px 32px;
    border-radius: 28px;
    box-shadow: 0 12px 40px rgba(74,60,140,0.13);
    flex-direction: row;
    gap: 40px;
  }
  .efecto-sobre {
    font-size: 1.7rem;
    padding: 32px 24px;
    border-radius: 18px;
  }
  .sobre-texto {
    font-size: 1.35rem;
    padding: 32px 28px;
    border-radius: 18px;
    margin-bottom: 18px;
  }
  .sobre-texto h2 {
    font-size: 2.2rem;
    margin-bottom: 18px;
  }
  .sobre-foto-arco {
    min-width: 0;
    width: 100%;
    justify-content: center;
    align-items: center;
    margin-bottom: 18px;
  }
  .sobre-foto-arco img {
    border-radius: 32px 32px 80px 80px / 48px 48px 120px 120px;
    border-width: 14px;
    max-width: 100%;
    aspect-ratio: 1/1;
  }
  .foto-overlay-bg .overlay-close {
    top: 32px;
    right: 48px;
    width: 54px;
    height: 54px;
    font-size: 2.5rem;
  }
  .foto-overlay-bg .overlay-texto {
    padding: 48px 38px;
    border-radius: 24px;
    font-size: 2.2rem;
    gap: 32px;
  }
  .foto-overlay-bg .overlay-texto p,
  .foto-overlay-bg .overlay-texto h2,
  .foto-overlay-bg .overlay-texto strong {
    font-size: 2.2rem;
    margin: 0 24px;
  }
  .arrow-pointer-img {
    top: 160px;
    font-size: 2.7rem;
  }
  .arrow-text-img,
  .arrow-text {
    font-size: 1.1rem;
    margin-top: 18px;
  }
}