/* ===== SECCIÓN UBICACIÓN HOTEL CONFORT ===== */
.location__container {
  padding: 5rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f8fdf8 0%, #ffffff 100%);
}

/* Header */
.location__header {
  text-align: center;
  margin-bottom: 4rem;
}

.location__header .section__subheader {
  font-size: 1rem;
  font-weight: 600;
  color: #2d5016;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.location__header .section__subheader::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #4a7c29 0%, #f4d03f 100%);
  border-radius: 2px;
}

.location__header .section__header {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

/* Contenedor Mapa y Video */
.location__map-video {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Mapa */
.location__map {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(45, 80, 22, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location__map:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(45, 80, 22, 0.25);
}

.location__map-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  border: 3px solid #4a7c29;
  border-radius: 20px;
  overflow: hidden;
}

.location__map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.location__map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #4a7c29 0%, #5a9932 100%);
  color: #ffffff;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(74, 124, 41, 0.3);
  animation: float 3s ease-in-out infinite;
}

.location__map-overlay i {
  font-size: 1.25rem;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Video */
.location__video {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(45, 80, 22, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location__video:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(45, 80, 22, 0.25);
}

.location__video-wrapper {
  position: relative;
  width: 100%;
  height: 500px;
  background: #000000;
  border: 3px solid #f4d03f;
  border-radius: 20px;
  overflow: hidden;
}

.location__video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botón de reproducción inicial */
.video__play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.video__play-button:hover .play__button-circle {
  transform: scale(1.1);
  background: linear-gradient(135deg, #5a9932 0%, #6bb042 100%);
}

.play__button-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4a7c29 0%, #5a9932 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 8px 25px rgba(74, 124, 41, 0.4);
  transition: all 0.3s ease;
  border: 3px solid #f4d03f;
}

.play__button-circle i {
  font-size: 2.5rem;
  color: #ffffff;
  margin-left: 5px;
}

.play__button-text {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Controles del video */
.video__controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1.5rem 1rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 5;
}

.location__video-wrapper:hover .video__controls,
.video__controls.show {
  opacity: 1;
}

/* Barra de progreso */
.video__progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.video__progress-filled {
  height: 100%;
  background: linear-gradient(90deg, #4a7c29 0%, #f4d03f 100%);
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 10px;
  position: relative;
}

.video__progress-filled::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(244, 208, 63, 0.6);
}

/* Controles inferiores */
.video__controls-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video__controls-left,
.video__controls-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.video__button {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.video__button:hover {
  background: rgba(244, 208, 63, 0.2);
  color: #f4d03f;
  transform: scale(1.1);
}

.video__time {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
}

/* Indicador de carga */
.video__loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: none;
}

.video__loading.show {
  display: block;
}

.loading__spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(244, 208, 63, 0.3);
  border-top-color: #f4d03f;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Chat de WhatsApp */
.location__chat {
  background: linear-gradient(135deg, #ffffff 0%, #f8fdf8 100%);
  border-radius: 20px;
  padding: 2.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  box-shadow: 0 8px 30px rgba(45, 80, 22, 0.1);
  border: 2px solid #e8f5e0;
  transition: all 0.3s ease;
}

.location__chat:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(45, 80, 22, 0.2);
  border-color: #4a7c29;
}

.chat__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #4a7c29 0%, #5a9932 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(74, 124, 41, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.chat__icon i {
  font-size: 2.5rem;
  color: #ffffff;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 6px 20px rgba(74, 124, 41, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(74, 124, 41, 0.5);
  }
}

.chat__content h3 {
  font-size: 1.75rem;
  color: #1a1a1a;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.chat__content p {
  color: #4a4a4a;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  padding: 0.875rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  border: 2px solid transparent;
}

.btn--whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
  background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
  border-color: #f4d03f;
}

.btn--whatsapp i {
  font-size: 1.5rem;
}

/* Modal para video en pantalla completa */
.video__modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.video__modal.active {
  display: flex;
}

.video__modal-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
}

.video__modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10000;
  padding: 0.5rem;
}

.video__modal-close:hover {
  color: #f4d03f;
  transform: rotate(90deg);
}

.video__modal video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Responsive */
@media (max-width: 968px) {
  .location__map-video {
    grid-template-columns: 1fr;
  }

  .location__chat {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .chat__icon {
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .location__container {
    padding: 3rem 1rem;
  }

  .location__header .section__header {
    font-size: 2rem;
  }

  .location__map-wrapper,
  .location__video-wrapper {
    height: 350px;
  }

  .play__button-circle {
    width: 60px;
    height: 60px;
  }

  .play__button-circle i {
    font-size: 2rem;
  }

  .video__controls {
    padding: 1rem 0.75rem 0.75rem;
  }

  .video__button {
    font-size: 1.25rem;
  }

  .location__chat {
    padding: 2rem 1.5rem;
  }

  .chat__content h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .location__header .section__header {
    font-size: 1.75rem;
  }

  .location__map-wrapper,
  .location__video-wrapper {
    height: 300px;
  }

  .chat__icon {
    width: 60px;
    height: 60px;
  }

  .chat__icon i {
    font-size: 2rem;
  }

  .btn--whatsapp {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}