/* Estilos base */
.local-section {
  background-color: #dde8f4; /* Fondo suave */
  padding: 25px 0;
}

.local-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Título principal */
.section-title {
  color: var(--dark-text-color);
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.section-title::before {
  position: absolute;
  content: '';
  width: 40px;
  height: 2px;
  background: var(--theme-color-one);
  top: 50%;
  -webkit-transform: translateX(-50px);
  transform: translateX(-50px);
}

.section-title::after {
  position: absolute;
  content: '';
  width: 40px;
  height: 2px;
  background: var(--theme-color-one);
  top: 50%;
  -webkit-transform: translateX(10px);
  transform: translateX(10px);
}

/* Grid flexible (reemplaza Bootstrap) */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.col-text {
  flex: 1;
  min-width: 250px;
}

.col-image {
  flex: 1;
  min-width: 250px;
}

/* Contenido de texto */
.text-content {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.6;
}

.text-content p {
  margin-bottom: 1rem;
}

/* Enlaces dentro del texto */
.text-content a {
  color: #58b4ed;
  text-decoration: none;
  transition: color 0.3s ease;
}

.text-content a:hover {
  color: #f68633;
}

/* Imagen */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  border: 3px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-fluid:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  
  .section-title {
    font-size: 2rem;
    text-align: center;
    border-left: none;
    border-bottom: 3px solid #f68633;
    padding-bottom: 10px;
    padding-left: 0;
  }
  
  .col-text, .col-image {
    width: 100%;
  }
  
  .col-image {
    order: -1; /* Opcional: imagen arriba en móvil */
  }
}

/* Botones opcionales (si los necesitas) */
.btn-custom {
  display: inline-block;
  background-color: #58b4ed;
  color: white;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn-custom:hover {
  background-color: #f68633;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(246, 134, 51, 0.3);
}