#contacts-block img {
    padding: 10px;
    max-height: 90px;
    margin-bottom: 10px;
}

#contacts-block .social-icons li {
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 25px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-align: center;
}

#contacts-block .social-icons li a {
    border: unset;
    color: white;
}

#contacts-block .social-icons li a:hover {
    color: black;
}

#contacts-block .contact-items a{
    color: white;
    text-decoration: none;
}

#contacts-block .contact-items,
#contact-view .contact-items {
    color: white;
    border-radius: 6px;
    margin-bottom: 30px;
}

#contacts-block h4,
#contact-view h4 {
    font-size: 1.1rem;
    color: #ffffff;
    padding: 7px 8px 7px 14px;
    font-family: 'Roboto';
}

#contacts-block .contact-email,
#contact-view .contact-email {
    padding-bottom: 10px;
}

#contacts-block .button {
    line-height: 1.6;
    width: 150px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    transition: all 0.3s ease;
    background-color: unset;
    color: var(--primary) !important;
    box-shadow: 0 0 4px 1px var(--primary) !important;
    line-height: 1.2;
    text-align: center;
    padding: 10px;
} 

#contacts-block .button:hover {
    background-color: white;
    color: black !important;
}

#contact-view .view-title {
    margin-bottom: 10px
}

#contact-view .contact-block-title {
    display: none;
}

#contact-view .dark-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact-view fieldset {
    border: unset;
}

#contact-view #block-feedback-block .node-taxonomy-container {
    border-top: unset;
    padding-top: 0;
    margin-top: -20px;
}

#contact-view select {
    border-color: var(--theme-color-one);
    border-radius: 20px;
    padding: 8px;
}

#contact-view .frc-captcha {
    border: unset;
    margin-bottom: unset;
}

/* --- Encabezados de sección --- */
.contact-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--theme-color-three), var(--theme-color-two));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.contact-section-header p {
    font-size: 1.1rem;
    color: #5a6874;
    max-width: 600px;
    margin: 0 auto;
}


/* Bloque con dos divisiones usando Flexbox */
.contact-two-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}
/* Primera división */
.contact-column-left {
    flex: 1;
    min-width: 250px; /* Ancho mínimo antes de colapsar */
}
/* Segunda división */
.contact-column-right {
    flex: 1;
    min-width: 250px; /* Ancho mínimo antes de colapsar */
}

.contact-block-form{
    /* background:#58b4ed; */
    position: relative;
    margin-bottom: -65px;
    z-index: 1;
}
.contact-left{
    margin:  0.5rem 0.5rem 1rem;
    text-align: center;
}
.contact-form-title{
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
}
.contact-form-text{
    font-weight: 300;
    font-size: 1.50rem;
    color: white;
}


/* .contact-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
} */

.contact-block-title {
    background: linear-gradient(120deg, var(--theme-color-four), white);
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.2rem;
    border-bottom: 3px solid var(--theme-color-one);
    color: var(--theme-color-three);
}

.contact-block-title i {
    color: var(--theme-color-one);
    margin-right: 0.5rem;
    font-size: 1.3rem;
}

.contact-block-content {
    padding: 1.5rem;
}

/* --- Galería de fotos (Bloque 1) --- */
.contact-photos-grid {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-photo-card {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    background: var(--theme-color-four);
}

.contact-photo-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.contact-photo-card:hover img {
    transform: scale(1.03);
}

/* --- Mapa + Contacto (Bloque 2) --- */
.contact-map-contact-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

iframe{
    border-radius: 1.5rem;
}

@media (max-width: 640px) { 

    .contact-photo-card img {
        height: 100%;
    }
    form#feedback-form {
        width: 250px;
    }
    iframe{
        width: 250px;
        height: 300px;
        border-radius: 1.5rem;
        margin: auto;
    }
    .galeria-referencias{
        margin: .5rem;
    }
}

.feedback-form label{
    font-weight: 600;
    color: var(--theme-color-three);
    font-size: 0.9rem;
}


.contact-address a {
    color: #fff;
    text-decoration: none !important;
}

/* --- Ajustes responsive generales --- */
@media (max-width: 768px) {
    .contact-section-header h2 {
        font-size: 1.8rem;
    }
    .contact-block-title {
        font-size: 1rem;
    }
}

.seccion-dividida {
  
  /* max-width: 1400px; */
  
  background-color: #58b4ed;
  margin-bottom: -65px;
  z-index: 100;
}
.div-dividida{
    display: flex;
    margin: 0 auto;
}

.columna-mapa {
  flex: 1; /* Toma 50% del espacio disponible */
  background-color: white;
  overflow: hidden;
}

.columna-imagenes {
  flex: 1; /* Toma 50% del espacio disponible */
  /* background-color: white; */
  padding: 1rem;
}

.galeria-referencias {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin: .5rem 1.5rem 0.5rem .5rem;
}

.imagen-ref {
  text-align: center;
}

.imagen-ref img {
  width: 100%;
  height: auto;
  max-height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.imagen-ref img:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.imagen-ref p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}


/* Responsive: en móviles se apilan */
@media (max-width: 768px) {
  .seccion-dividida {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  
  .mapa-contenedor iframe {
    height: 300px;
  }
}
