/* ===================================
   ESTILOS ESPECÍFICOS PARA POEL
   =================================== */

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.page-header {
  text-align: center;
  margin-bottom: 50px;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.page-header h1 {
  font-size: 2.5rem;
  color: #ca9b47;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.content-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 4px solid #ca9b47;
}

.content-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.content-card h3 {
  color: #ca9b47;
  font-size: 1.4rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.content-card p {
  color: #666;
  margin-bottom: 25px;
  text-align: center;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  width: 100%;
  box-shadow: 0 4px 15px rgba(202, 155, 71, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(202, 155, 71, 0.4);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%);
}

.highlight-section {
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
  padding: 50px;
  border-radius: 20px;
  text-align: center;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.highlight-section h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.highlight-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn-secondary {
  background: white;
  color: #ca9b47;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Estilos para el contenedor de opciones del formulario */
.form-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-options .btn-primary {
  width: 100%;
  text-align: center;
}

/* Estilos para la nueva sección del mapa interactivo */
.map-section {
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  color: #ca9b47;
  margin-bottom: 15px;
  font-weight: 700;
}

.map-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* Relación 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Respuesta responsiva para pantallas más pequeñas */
@media (max-width: 768px) {
  .map-section {
    padding: 30px 20px;
  }

  .map-section h2 {
    font-size: 1.5rem;
  }

  .map-section p {
    font-size: 1rem;
  }

  .form-options {
    flex-direction: column;
  }

  .form-options .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .map-section {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .map-section h2 {
    font-size: 1.3rem;
  }
}

/* Estilos para el contenedor de opciones del formulario */
.form-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-options .btn-primary {
  width: 100%;
  text-align: center;
}

/* Estilos para la nueva sección del mapa interactivo */
.map-section {
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  color: #ca9b47;
  margin-bottom: 15px;
  font-weight: 700;
}

.map-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Contenedor wrapper para posicionamiento del botón */
.map-wrapper {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
}

/* Mapa reducido a 70% del ancho original */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Botón de enlace en esquina inferior derecha del mapa */
.map-link-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
  padding: 12px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(202, 155, 71, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 155, 71, 0.5);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%);
}

.map-link-btn i {
  font-size: 12px;
}

/* Respuesta responsiva para pantallas más pequeñas */
@media (max-width: 768px) {
  .map-section {
    padding: 30px 20px;
  }

  .map-section h2 {
    font-size: 1.5rem;
  }

  .map-section p {
    font-size: 1rem;
  }

  /* En tablets, reducir el ancho a 85% */
  .map-wrapper {
    max-width: 85%;
  }

  .form-options {
    flex-direction: column;
  }

  .form-options .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .map-link-btn {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .map-section {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .map-section h2 {
    font-size: 1.3rem;
  }

  /* En móviles, usar ancho completo */
  .map-wrapper {
    max-width: 100%;
  }

  .map-link-btn {
    bottom: 8px;
    right: 8px;
    padding: 9px 12px;
    font-size: 11px;
  }
}

/* Estilos para el contenedor de opciones del formulario */
.form-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.form-options .btn-primary {
  width: 100%;
  text-align: center;
}

/* Estilos para la nueva sección del mapa interactivo */
.map-section {
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  color: #ca9b47;
  margin-bottom: 15px;
  font-weight: 700;
}

.map-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Contenedor wrapper para posicionamiento del botón */
.map-wrapper {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
}

/* Mapa reducido a 70% del ancho original */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Botón de enlace en esquina inferior derecha del mapa */
.map-link-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
  padding: 12px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(202, 155, 71, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 155, 71, 0.5);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%);
}

.map-link-btn i {
  font-size: 12px;
}

/* Respuesta responsiva para pantallas más pequeñas */
@media (max-width: 768px) {
  .map-section {
    padding: 30px 20px;
  }

  .map-section h2 {
    font-size: 1.5rem;
  }

  .map-section p {
    font-size: 1rem;
  }

  /* En tablets, reducir el ancho a 85% */
  .map-wrapper {
    max-width: 85%;
  }

  .form-options {
    flex-direction: column;
  }

  .form-options .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
  }

  .map-link-btn {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .map-section {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .map-section h2 {
    font-size: 1.3rem;
  }

  /* En móviles, usar ancho completo */
  .map-wrapper {
    max-width: 100%;
  }

  .map-link-btn {
    bottom: 8px;
    right: 8px;
    padding: 9px 12px;
    font-size: 11px;
  }
}

/* Estilos del modal para llenar formulario */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid #ca9b47;
  background: linear-gradient(135deg, #f8f5f0 0%, #faf7f2 100%);
}

.modal-header h2 {
  margin: 0;
  color: #ca9b47;
  font-size: 1.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #ca9b47;
}

.consulta-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ca9b47;
  box-shadow: 0 0 0 3px rgba(202, 155, 71, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-footer {
  display: flex;
  gap: 15px;
  padding: 20px 30px;
  border-top: 1px solid #eee;
  background: #f8f5f0;
}

.modal-footer button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.modal-footer .btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.modal-footer .btn-secondary:hover {
  background: #d0d0d0;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 155, 71, 0.3);
}

@media (max-width: 600px) {
  .modal-content {
    max-width: 95%;
    border-radius: 10px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .consulta-form {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer button {
    width: 100%;
  }
}

/* ===================================
   ESTILOS GENERALES PARA POEL
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  color: #333;
  line-height: 1.6;
}

/* ===================================
   ESTILOS ESPECÍFICOS PARA POEL
   =================================== */

/* Estilos para el contenedor de opciones del formulario */
.form-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.btn-fill-form,
.btn-download-only {
  width: 100%;
  text-align: center;
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%) !important;
  color: white !important;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none !important;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 16px;
  box-shadow: 0 4px 15px rgba(202, 155, 71, 0.3);
  display: block !important;
}

.btn-fill-form:hover,
.btn-download-only:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(202, 155, 71, 0.4);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%) !important;
  color: white !important;
}

.btn-fill-form:active,
.btn-download-only:active {
  transform: translateY(0);
}

/* Estilos para la nueva sección del mapa interactivo */
.map-section {
  background: white;
  border-radius: 20px;
  padding: 50px 30px;
  margin: 50px 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.map-section h2 {
  font-size: 2rem;
  color: #ca9b47;
  margin-bottom: 15px;
  font-weight: 700;
}

.map-section p {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 30px;
}

/* Contenedor wrapper para posicionamiento del botón */
.map-wrapper {
  position: relative;
  max-width: 70%;
  margin: 0 auto;
}

/* Mapa reducido a 70% del ancho original */
.map-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* Botón de enlace en esquina inferior derecha del mapa */
.map-link-btn {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%) !important;
  color: white !important;
  padding: 12px 18px;
  border-radius: 25px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(202, 155, 71, 0.4);
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  border: none;
  cursor: pointer;
  z-index: 10;
}

.map-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 155, 71, 0.5);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%) !important;
  color: white !important;
}

/* Estilos del modal para llenar formulario */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1000;
  overflow-y: auto;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background: white;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 2px solid #ca9b47;
  background: linear-gradient(135deg, #f8f5f0 0%, #faf7f2 100%);
}

.modal-header h2 {
  margin: 0;
  color: #ca9b47;
  font-size: 1.5rem;
}

.modal-close-btn {
  background: none;
  border: none;
  font-size: 28px;
  color: #999;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease;
}

.modal-close-btn:hover {
  color: #ca9b47;
}

.consulta-form {
  padding: 30px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ca9b47;
  box-shadow: 0 0 0 3px rgba(202, 155, 71, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.modal-footer {
  display: flex;
  gap: 15px;
  padding: 20px 30px;
  border-top: 1px solid #eee;
  background: #f8f5f0;
}

.modal-footer button {
  flex: 1;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
}

.modal-footer .btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.modal-footer .btn-secondary:hover {
  background: #d0d0d0;
  color: #333;
}

.modal-footer .btn-primary {
  background: linear-gradient(135deg, #ca9b47 0%, #b8873d 100%);
  color: white;
}

.modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(202, 155, 71, 0.3);
  background: linear-gradient(135deg, #b8873d 0%, #a67634 100%);
}

/* Respuesta responsiva para pantallas más pequeñas */
@media (max-width: 768px) {
  .map-section {
    padding: 30px 20px;
  }

  .map-section h2 {
    font-size: 1.5rem;
  }

  .map-section p {
    font-size: 1rem;
  }

  .map-wrapper {
    max-width: 85%;
  }

  .form-options {
    flex-direction: column;
  }

  .btn-fill-form,
  .btn-download-only {
    padding: 12px 20px;
    font-size: 14px;
  }

  .map-link-btn {
    bottom: 10px;
    right: 10px;
    padding: 10px 15px;
    font-size: 12px;
  }
}

@media (max-width: 600px) {
  .modal-content {
    max-width: 95%;
    border-radius: 10px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-header h2 {
    font-size: 1.2rem;
  }

  .consulta-form {
    padding: 20px;
  }

  .modal-footer {
    flex-direction: column;
  }

  .modal-footer button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .map-section {
    padding: 20px 15px;
    margin: 30px 0;
  }

  .map-section h2 {
    font-size: 1.3rem;
  }

  .map-wrapper {
    max-width: 100%;
  }

  .map-link-btn {
    bottom: 8px;
    right: 8px;
    padding: 9px 12px;
    font-size: 11px;
  }
}


.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}