/* ============================================================
   SINGLE SECTION
   Shortcode: [SingleSection]
   Diseño tipo "About Us" con imagen + texto + barra inferior
   ============================================================ */

.single-section {
  padding: 80px 0;
  margin-top: 0;
  margin-bottom: 0;
  background: #fff;
}

/* ---- Anular efectos de hover heredados del tema ---- */
.single-section .img-box:hover,
.single-section .img-box:hover img {
  opacity: 1 !important;
}
.single-section .img-box::before {
  content: none;
}

/* ---- Columna imagen ---- */
.single-section .hc-column.order-lg-2,
.single-section .hc-column:first-child {
  padding-right: 16px;
}

.single-section .img-box {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
}

.single-section .img-box img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
  box-shadow: 6px 16px 48px rgba(0, 0, 0, 0.13);
  display: block;
  transition: none;
}

/* ---- Columna texto ---- */
.single-section .hc-column.order-lg-1,
.single-section .hc-column:last-child {
  padding-right: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Título */
.single-section .title {
  margin-bottom: 0;
}

.single-section .title h2 {
  font-size: 40px;
  line-height: 1.2;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 24px;
  margin-top: 0;
}

/* Párrafo */
.single-section .hc-cmp-text-block {
  font-size: 16px;
  line-height: 1.85;
  color: #6e777d;
  margin-bottom: 28px;
}

/* Botón CTA */
.single-section .ss-cta-btn {
  display: inline-flex !important;
  align-items: center;
  background: var(--color-primary, #03bfcb) !important;
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px !important;
  border-radius: 4px;
  text-decoration: none;
  border: none;
  transition: background 0.3s ease;
  width: auto !important;
  max-width: fit-content;
  margin-bottom: 32px;
}

.single-section .ss-cta-btn:hover {
  background: #029aa5 !important;
  color: #fff !important;
}

/* ============================================================
   BARRA INFERIOR: teléfono + separador + firma
   ============================================================ */

.ss-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}

/* Bloque teléfono */
.ss-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.ss-phone-icon-wrap {
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.ss-phone-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ss-phone-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.3;
}

.ss-phone-number {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.3;
}

/* Línea separadora horizontal */
.ss-bottom-sep {
  flex: 1;
  min-width: 40px;
  height: 1px;
  background: #d1d5db;
  display: block;
}

/* Imagen de firma */
.ss-signature {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  flex-shrink: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1200px) {
  .single-section .hc-column.order-lg-1,
  .single-section .hc-column:last-child {
    padding-left: 32px;
  }
  .single-section .title h2 {
    font-size: 34px;
  }
  .single-section .img-box img {
    height: 440px;
  }
}

@media (max-width: 992px) {
  .single-section .hc-column.order-lg-1,
  .single-section .hc-column:last-child {
    padding-left: 20px;
  }
  .single-section .title h2 {
    font-size: 28px;
  }
  .single-section .img-box img {
    height: 380px;
  }
}

@media (max-width: 768px) {
  .single-section {
    padding: 50px 0;
  }

  .single-section .hc-column.order-lg-2,
  .single-section .hc-column:first-child {
    padding-right: 0;
    margin-bottom: 32px;
  }

  .single-section .hc-column.order-lg-1,
  .single-section .hc-column:last-child {
    padding-left: 0;
  }

  .single-section .title h2 {
    font-size: 26px;
    line-height: 1.3;
  }

  .single-section .img-box img {
    height: 280px;
    object-position: center;
  }

  .ss-bottom {
    gap: 14px;
  }

  .ss-bottom-sep {
    display: none;
  }
}
